From mboxrd@z Thu Jan 1 00:00:00 1970 From: xfs@oss.sgi.com Subject: [XFS updates] XFS development tree branch, xfs-coccinelle-cleanups, created. v3.18-rc2-4-gd254aae Message-Id: <20141201003011.D0BCA7F55@oss.sgi.com> Date: Sun, 30 Nov 2014 18:30:11 -0600 (CST) List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com 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 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 CC: Brian Foster Signed-off-by: Fengguang Wu commit 8300475ebf03a54ec3c56b6b808ccbd9e1bc320d Author: kbuild test robot 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 Signed-off-by: Fengguang Wu Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner commit b72091f2fb28fb9e2746010b54d6cc3c27924e6c Author: kbuild test robot 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 Signed-off-by: Fengguang Wu Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner commit d2a5e3c6fccb25234a594bacb056e0b3974faf49 Author: Markus Elfring 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. Signed-off-by: Markus Elfring Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner ----------------------------------------------------------------------- hooks/post-receive -- XFS development tree _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs