Skip to content

Commit

Permalink
net: make netpoll_rx return bool for !CONFIG_NETPOLL
Browse files Browse the repository at this point in the history
"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>
  • Loading branch information
John W. Linville authored and David S. Miller committed Aug 10, 2010
1 parent 1c114f4 commit 969a6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/netpoll.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 969a6e5

Please sign in to comment.