Skip to contentSkip to conversation

XFS development tree branch, xfs-coccinelle-cleanups, created. v3.18-rc2-4-gd254aae

XFS updates [email protected] 1 participant 1 message Dec 1, 2014

lore
Share & tools
lore

[email protected]

author Reviewed-by Dave Chinner Reviewed-by Dave Chinner Reviewed-by Dave Chinner
#0 lore raw

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "XFS development tree".

The branch, xfs-coccinelle-cleanups has been created

        at  d254aaec5d1aa2997dad035db340c298eaa8d089 (commit)

- Log ----------------------------------------------------------------- commit d254aaec5d1aa2997dad035db340c298eaa8d089

Author: kbuild test robot <[email protected]>
Date:   Mon Dec 1 08:42:52 2014 +1100

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

commit 8300475ebf03a54ec3c56b6b808ccbd9e1bc320d

Author: kbuild test robot <[email protected]>
Date:   Mon Dec 1 08:25:28 2014 +1100

xfs: fix simple_return.cocci warning in xfs_file_readdir

fs/xfs/xfs_file.c:919:1-6: WARNING: end returns can be simpified and declaration on line 902 can be dropped

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

commit b72091f2fb28fb9e2746010b54d6cc3c27924e6c

Author: kbuild test robot <[email protected]>
Date:   Mon Dec 1 08:24:58 2014 +1100

libxfs: fix simple_return.cocci warnings

fs/xfs/libxfs/xfs_ialloc.c:1141: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

commit d2a5e3c6fccb25234a594bacb056e0b3974faf49

Author: Markus Elfring <[email protected]>
Date:   Mon Dec 1 08:24:20 2014 +1100

xfs: remove unnecessary null checks

The functions xfs_blkdev_put() and xfs_qm_dqrele() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

-----------------------------------------------------------------------

hooks/post-receive

Signature · 6 lines
XFS development tree

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs