From: David Woodhouse Date: Sat, 27 Oct 2007 14:36:44 +0000 (-0400) Subject: [JFFS2] Prevent return of initialised variable in jffs2_init_acl_post() X-Git-Tag: v2.6.24-rc2~126^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d6ea587d94569919bd2c31c042d5b9b8734e351;p=platform%2Fkernel%2Flinux-3.10.git [JFFS2] Prevent return of initialised variable in jffs2_init_acl_post() Spotted by the Coverity checker, and pointed out by Adrian Bunk. Signed-off-by: David Woodhouse --- diff --git a/fs/jffs2/acl.c b/fs/jffs2/acl.c index 9728614..77fc583 100644 --- a/fs/jffs2/acl.c +++ b/fs/jffs2/acl.c @@ -372,7 +372,7 @@ int jffs2_init_acl_post(struct inode *inode) return rc; } - return rc; + return 0; } void jffs2_clear_acl(struct jffs2_inode_info *f)