summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-08-10 16:24:41 -0700
committerDavid S. Miller <davem@davemloft.net>2010-08-10 16:24:41 -0700
commit969a6e521730153380ad7781095f503c040b684c (patch)
treeb1173bcdf43efb2f09111860690ca74071bb8743
parent1c114f42a597346de793a1d166478266a7ec3b61 (diff)
downloadop-kernel-dev-969a6e521730153380ad7781095f503c040b684c.zip
op-kernel-dev-969a6e521730153380ad7781095f503c040b684c.tar.gz
net: make netpoll_rx return bool for !CONFIG_NETPOLL
"netpoll: Use 'bool' for netpoll_rx() return type." missed the case when CONFIG_NETPOLL is disabled. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/netpoll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h
index 413742c..791d510 100644
--- a/include/linux/netpoll.h
+++ b/include/linux/netpoll.h
@@ -122,7 +122,7 @@ static inline int netpoll_tx_running(struct net_device *dev)
}
#else
-static inline int netpoll_rx(struct sk_buff *skb)
+static inline bool netpoll_rx(struct sk_buff *skb)
{
return 0;
}
OpenPOWER on IntegriCloud