]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit895961335b5e1901ff71d72232c947ac06d88d37
tree23ab66f8ce6811a02afb80d3bc0e71663e044a8a
parent57d5c0570bf0206768b2a977e7729c4738389072
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