i2o: fix simple_return.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 30 Apr 2015 13:03:04 +0000 (21:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 14:13:13 +0000 (16:13 +0200)
commit41d98f584f03660324f078fd812342a1e75edd6d
tree2ce4ed689a8b707760d96932b45e9e8875071d2e
parent3ede1b6be0718eb22531c573afc87f275147fbbe
i2o: fix simple_return.cocci warnings

drivers/staging/i2o/iop.c:777:1-3: WARNING: end returns can be simpified

 Simplify a trivial if-return sequence.  Possibly combine with a
 preceding function call.
Generated by: scripts/coccinelle/misc/simple_return.cocci

CC: Alan Cox <alan@linux.intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/i2o/iop.c