[2.6 patch] fs/jffs2/xattr.c: remove dead code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch removes some obvious dead code spotted by the Coverity 
checker.

Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.18-rc4-mm1/fs/jffs2/xattr.c.old	2006-08-15 02:11:07.000000000 +0200
+++ linux-2.6.18-rc4-mm1/fs/jffs2/xattr.c	2006-08-15 02:11:25.000000000 +0200
@@ -1215,7 +1215,6 @@ int jffs2_garbage_collect_xattr_datum(st
 	rc = jffs2_reserve_space_gc(c, totlen, &length, JFFS2_SUMMARY_XATTR_SIZE);
 	if (rc) {
 		JFFS2_WARNING("jffs2_reserve_space_gc()=%d, request=%u\n", rc, totlen);
-		rc = rc ? rc : -EBADFD;
 		goto out;
 	}
 	rc = save_xattr_datum(c, xd);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux