From patchwork Sat Mar 16 09:13:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomas Racek X-Patchwork-Id: 228201 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id C10C62C0085 for ; Sat, 16 Mar 2013 20:13:37 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752911Ab3CPJNf (ORCPT ); Sat, 16 Mar 2013 05:13:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49795 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752743Ab3CPJNf (ORCPT ); Sat, 16 Mar 2013 05:13:35 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2G9DYcx003677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 16 Mar 2013 05:13:34 -0400 Received: from luke.redhat.com (vpn1-4-104.ams2.redhat.com [10.36.4.104]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r2G9DXux027968; Sat, 16 Mar 2013 05:13:33 -0400 From: Tomas Racek To: linux-ext4@vger.kernel.org Cc: Tomas Racek Subject: [PATCH 1/3] e2image: Remove useless exit call Date: Sat, 16 Mar 2013 10:13:23 +0100 Message-Id: <1363425205-10970-1-git-send-email-tracek@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Exit is called right after the install_image anyway so this one can be removed. Signed-off-by: Tomas Racek --- misc/e2image.c | 1 - 1 file changed, 1 deletion(-) 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)