Tag: d254aaec5d1aa2997dad035db340c298eaa8d089

xfs: fix simple_return.cocci warning in xfs_bmse_shift_one

Author: kbuild test robot <fengguang.wu@intel.com> 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 Signed-off-by: Fengguang Wu — fs/xfs/libxfs/xfs_bmap.c | 6 +—– 1 file changed, 1 insertion(+), 5 deletions(-)   diff –git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c index 79c9819..20d2e96 100644 — a/fs/xfs/libxfs/xfs_bmap.c …

Continue reading