commit | d1611c3aba11ffa281bdd027aace52f5a370b8c5 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Sun Oct 25 22:27:57 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 25 22:36:15 2015 -0700 |
tree | 8684d9f42b7dd75b6a4ccfccdc0c709af0e6ff25 | |
parent | 3ed770f60317a02a5a5e4a7345dc13d8819f56e8 [diff] |
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>