socket poll related cleanups v2

From: Christoph Hellwig
Date: Mon Jul 30 2018 - 03:42:21 EST


A couple of cleanups I stumbled upon when studying the networking
poll code.

Changes since v1:
- drop a dispute patch from this series (to be sent separately)