socket poll related cleanups v2

From: Christoph Hellwig
Date: Mon Jul 30 2018 - 03:45:15 EST


Eric, Paul,

can you please look over the patch below? The RCU annotations here don't
make any sense as we never RCU access through the annotated pointer (
we do access the underlying object through RCU and thus need to RCU free,
but that is a different story). Dave doesn't seem to be convinced,
though.