summaryrefslogtreecommitdiffstats
path: root/drivers/net/arcnet
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2015-10-26 03:27:57 +0100
committerDavid S. Miller <davem@davemloft.net>2015-10-26 06:36:15 +0100
commitd1611c3aba11ffa281bdd027aace52f5a370b8c5 (patch)
tree8684d9f42b7dd75b6a4ccfccdc0c709af0e6ff25 /drivers/net/arcnet
parentnet: encx24j600: Fix mask to update LED configuration (diff)
downloadlinux-d1611c3aba11ffa281bdd027aace52f5a370b8c5.tar.xz
linux-d1611c3aba11ffa281bdd027aace52f5a370b8c5.zip
bnxt_en: Fix compile warnings when CONFIG_INET is not set.
bnxt_gro_skb() has unused variables when CONFIG_INET is not set. We really cannot support hardware GRO if CONFIG_INET is not set, so compile out bnxt_gro_skb() completely and define BNXT_FLAG_GRO to be 0 if CONFIG_INET is not set. This will effectively always disable hardware GRO if CONFIG_INET is not set. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arcnet')
0 files changed, 0 insertions, 0 deletions