xfs: fix simple_return.cocci warning in xfs_bmse_shift_one
authorkbuild test robot <fengguang.wu@intel.com>
Sun, 30 Nov 2014 21:42:52 +0000 (08:42 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 30 Nov 2014 21:42:52 +0000 (08:42 +1100)
commitd254aaec5d1aa2997dad035db340c298eaa8d089
tree61835f26b74687ac2e7d76bcc460539b2bbbe7b7
parent8300475ebf03a54ec3c56b6b808ccbd9e1bc320d
xfs: fix simple_return.cocci warning in xfs_bmse_shift_one

fs/xfs/libxfs/xfs_bmap.c:5591:1-6: 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: Brian Foster <bfoster@redhat.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
fs/xfs/libxfs/xfs_bmap.c