]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6bff8b5398fa3c6e04910ee0e5dda35881094ca
treeaba02503d7405e225fe590248127028e10cafd8c
parent01f481826879c1035d00be661c3bb52cd56d6803
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