diff --git a/arch/arm/src/sam34/sam_emac.c b/arch/arm/src/sam34/sam_emac.c index 8866ebb559..fb2ca53dfe 100644 --- a/arch/arm/src/sam34/sam_emac.c +++ b/arch/arm/src/sam34/sam_emac.c @@ -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]); diff --git a/arch/arm/src/sama5/sam_emaca.c b/arch/arm/src/sama5/sam_emaca.c index 30f20743c2..8360cec284 100644 --- a/arch/arm/src/sama5/sam_emaca.c +++ b/arch/arm/src/sama5/sam_emaca.c @@ -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]); diff --git a/arch/arm/src/sama5/sam_gmac.c b/arch/arm/src/sama5/sam_gmac.c index 2f74aae50d..16c53a470d 100644 --- a/arch/arm/src/sama5/sam_gmac.c +++ b/arch/arm/src/sama5/sam_gmac.c @@ -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]);