summaryrefslogtreecommitdiffstats
path: root/net/mac80211/wme.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-07-08 14:43:39 +0200
committerDavid S. Miller <davem@davemloft.net>2019-07-08 12:40:58 -0700
commit0287f9ed1693fff26a2d568a9d3f74c2b198540c (patch)
treeccdb949949b1f8e94ff047b0d4047bbe6218777a /net/mac80211/wme.h
parent05cfee98c8a5187c41978967d34ab5ef0353c0f8 (diff)
downloadlinux-0287f9ed1693fff26a2d568a9d3f74c2b198540c.tar.bz2
gve: fix unused variable/label warnings
On unusual page sizes, we get harmless warnings: drivers/net/ethernet/google/gve/gve_rx.c:283:6: error: unused variable 'pagecount' [-Werror,-Wunused-variable] drivers/net/ethernet/google/gve/gve_rx.c:336:1: error: unused label 'have_skb' [-Werror,-Wunused-label] Change the preprocessor #if to regular if() to avoid this. Fixes: f5cedc84a30d ("gve: Add transmit and receive support") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/wme.h')
0 files changed, 0 insertions, 0 deletions