net: Change return type of sk_busy_loop from bool to void
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 24 Mar 2017 17:08:12 +0000 (10:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Mar 2017 03:49:30 +0000 (20:49 -0700)
commit2b5cd0dfa384242f78a396b90087368c9440cc9a
treeaba02503d7405e225fe590248127028e10cafd8c
parentd2e64dbbe95b2b51eb723134274de1d3f30bce80
net: Change return type of sk_busy_loop from bool to void

checking the return value of sk_busy_loop. As there are only a few
consumers of that data, and the data being checked for can be replaced
with a check for !skb_queue_empty() we might as well just pull the code
out of sk_busy_loop and place it in the spots that actually need it.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/busy_poll.h
net/core/datagram.c
net/core/dev.c
net/sctp/socket.c