Fix some warning

This commit is contained in:
Gregory Nutt 2015-02-09 18:24:31 -06:00
parent 0a6ae631dc
commit 8b0d9fb456
3 changed files with 6 additions and 0 deletions

View File

@ -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]);

View File

@ -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]);

View File

@ -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]);