staging: octeon: move common poll code into a separate function

Move common poll code into a separate function.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Aaro Koskinen 2016-08-31 23:57:39 +03:00 • committed by Greg Kroah-Hartman
commit b7d7dee5bf