Commit 969a6e52 authored by John W. Linville's avatar John W. Linville Committed by David S. Miller
Browse files

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: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1c114f42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}