net: remove sock_poll_busy_loop
authorChristoph Hellwig <hch@lst.de>
Mon, 30 Jul 2018 07:42:12 +0000 (09:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jul 2018 16:10:25 +0000 (09:10 -0700)
commitf641f13b992979b97e595b761a9ba1a64fed7c4e
tree23ab66f8ce6811a02afb80d3bc0e71663e044a8a
parentd8bbd13beeaacd6494954bf5b945b54ccb2af309
net: remove sock_poll_busy_loop

There is no point in hiding this logic in a helper.  Also remove the
useless events != 0 check and only busy loop once we know we actually
have a poll method.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/busy_poll.h
net/socket.c