Skip to content
Commit d254aaec authored by kbuild test robot's avatar kbuild test robot Committed by Dave Chinner
Browse files

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: default avatarFengguang Wu <fengguang.wu@intel.com>
parent 8300475e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment