Fix some warning
This commit is contained in:
parent
0a6ae631dc
commit
8b0d9fb456
@ -1957,6 +1957,7 @@ static int sam_addmac(struct net_driver_s *dev, const uint8_t *mac)
|
||||
unsigned int ndx;
|
||||
unsigned int bit;
|
||||
|
||||
UNUSED(priv);
|
||||
nllvdbg("MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
|
||||
mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
|
||||
|
||||
@ -2030,6 +2031,7 @@ static int sam_rmmac(struct net_driver_s *dev, const uint8_t *mac)
|
||||
unsigned int ndx;
|
||||
unsigned int bit;
|
||||
|
||||
UNUSED(priv);
|
||||
nllvdbg("MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
|
||||
mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
|
||||
|
||||
|
@ -1997,6 +1997,7 @@ static int sam_addmac(struct net_driver_s *dev, const uint8_t *mac)
|
||||
uint32_t regval;
|
||||
unsigned int ndx;
|
||||
unsigned int bit;
|
||||
UNUSED(priv);
|
||||
|
||||
nllvdbg("MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
|
||||
mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
|
||||
@ -2070,6 +2071,7 @@ static int sam_rmmac(struct net_driver_s *dev, const uint8_t *mac)
|
||||
unsigned int regaddr2;
|
||||
unsigned int ndx;
|
||||
unsigned int bit;
|
||||
UNUSED(priv);
|
||||
|
||||
nllvdbg("MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
|
||||
mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
|
||||
|
@ -1952,6 +1952,7 @@ static int sam_addmac(struct net_driver_s *dev, const uint8_t *mac)
|
||||
uint32_t regval;
|
||||
unsigned int ndx;
|
||||
unsigned int bit;
|
||||
UNUSED(priv);
|
||||
|
||||
nllvdbg("MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
|
||||
mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
|
||||
@ -2025,6 +2026,7 @@ static int sam_rmmac(struct net_driver_s *dev, const uint8_t *mac)
|
||||
unsigned int regaddr2;
|
||||
unsigned int ndx;
|
||||
unsigned int bit;
|
||||
UNUSED(priv);
|
||||
|
||||
nllvdbg("MAC: %02x:%02x:%02x:%02x:%02x:%02x\n",
|
||||
mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
|
||||
|
Loading…
Reference in New Issue
Block a user