bnxt_en: Fix compiler warnings when CONFIG_RFS_ACCEL is not defined.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 13 Jan 2017 06:32:00 +0000 (01:32 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Jan 2017 04:21:31 +0000 (23:21 -0500)
commitb742995445fbac874f5fe19ce2afc76c7a6ac2cf
tree59e2b8d6a45f63969e4b3d083c01ab528d90119b
parent718e14bb292a2e16b506133d191886110417df51
bnxt_en: Fix compiler warnings when CONFIG_RFS_ACCEL is not defined.

CC [M]  drivers/net/ethernet/broadcom/bnxt/bnxt.o
drivers/net/ethernet/broadcom/bnxt/bnxt.c:4947:21: warning: ‘bnxt_get_max_func_rss_ctxs’ defined but not used [-Wunused-function]
 static unsigned int bnxt_get_max_func_rss_ctxs(struct bnxt *bp)
                     ^
  CC [M]  drivers/net/ethernet/broadcom/bnxt/bnxt.o
drivers/net/ethernet/broadcom/bnxt/bnxt.c:4956:21: warning: ‘bnxt_get_max_func_vnics’ defined but not used [-Wunused-function]
 static unsigned int bnxt_get_max_func_vnics(struct bnxt *bp)
                     ^

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c