All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] fs/jffs2/xattr.c: remove dead code
@ 2006-08-15  0:42 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-08-15  0:42 UTC (permalink / raw)
  To: KaiGai Kohei, dwmw2; +Cc: jffs-dev, linux-kernel

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

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- 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);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-15  2:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-15  0:42 [2.6 patch] fs/jffs2/xattr.c: remove dead code Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.