net: refactor socket_poll
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Jan 2018 15:07:34 +0000 (16:07 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 26 May 2018 07:16:44 +0000 (09:16 +0200)
commit3cafb37633a1230011c5415e6f394b05260d21ad
tree4bb789ef23b3e6e8a9ed3295a1a1ddb674dd250d
parent1962da0d2198a00a056a2915fbc6ec684c3bef0a
net: refactor socket_poll

Factor out two busy poll related helpers for late reuse, and remove
a command that isn't very helpful, especially with the __poll_t
annotations in place.

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