gianfar: Fix warning when CONFIG_PM off
authorClaudiu Manoil <claudiu.manoil@freescale.com>
Fri, 31 Jul 2015 15:38:31 +0000 (18:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Jul 2015 22:41:49 +0000 (15:41 -0700)
commit8486830549189b109bfd40e8d38c6dd8b8f476db
tree97c08ee6941bb3e45528017db0d041c806761fdc
parent5175f7106cc55a1bcf97bf7d5ba0900017ebcef8
gianfar: Fix warning when CONFIG_PM off

CC      drivers/net/ethernet/freescale/gianfar.o
drivers/net/ethernet/freescale/gianfar.c:568:13: warning: 'lock_tx_qs'
defined but not used [-Wunused-function]
 static void lock_tx_qs(struct gfar_private *priv)
             ^
drivers/net/ethernet/freescale/gianfar.c:576:13: warning: 'unlock_tx_qs'
defined but not used [-Wunused-function]
 static void unlock_tx_qs(struct gfar_private *priv)
             ^

Reported-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c