Patchwork [1/3] e2image: Remove useless exit call

login
register
mail settings
Submitter Tomas Racek
Date March 16, 2013, 9:13 a.m.
Message ID <1363425205-10970-1-git-send-email-tracek@redhat.com>
Download mbox | patch
Permalink /patch/228201/
State Accepted
Headers show

Comments

Tomas Racek - March 16, 2013, 9:13 a.m.
Exit is called right after the install_image anyway so this one can
be removed.

Signed-off-by: Tomas Racek <tracek@redhat.com>
---
 misc/e2image.c | 1 -
 1 file changed, 1 deletion(-)
Theodore Ts'o - April 22, 2013, 3:23 a.m.
On Sat, Mar 16, 2013 at 10:13:23AM +0100, Tomas Racek wrote:
> Exit is called right after the install_image anyway so this one can
> be removed.
> 
> Signed-off-by: Tomas Racek <tracek@redhat.com>

Thanks, applied.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/misc/e2image.c b/misc/e2image.c
index b1badda..6988c4d 100644
--- a/misc/e2image.c
+++ b/misc/e2image.c
@@ -1230,7 +1230,6 @@  static void install_image(char *device, char *image_fn, int type)
 	}
 
 	ext2fs_close (fs);
-	exit (0);
 }
 
 static struct ext2_qcow2_hdr *check_qcow2_image(int *fd, char *name)