From: Karel Zak Date: Fri, 18 Jan 2013 10:48:45 +0000 (+0100) Subject: fdisk: (aix) remove unuused variable 'partitions' X-Git-Tag: v2.23-rc1~148 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=15a64477aed435ff2f14f1b442d6c2205753c6ce;p=thirdparty%2Futil-linux.git fdisk: (aix) remove unuused variable 'partitions' Signed-off-by: Karel Zak --- diff --git a/fdisks/fdiskaixlabel.c b/fdisks/fdiskaixlabel.c index d87405a1f8..41547bdbe4 100644 --- a/fdisks/fdiskaixlabel.c +++ b/fdisks/fdiskaixlabel.c @@ -51,7 +51,6 @@ static void aix_nolabel(struct fdisk_context *cxt) struct aix_partition *aixlabel = (struct aix_partition *) cxt->firstsector; aixlabel->magic = 0; - partitions = 4; fdisk_zeroize_firstsector(cxt); return; } @@ -68,7 +67,6 @@ static int aix_probe_label( return 0; } other_endian = (aixlabel->magic == AIX_LABEL_MAGIC_SWAPPED); - partitions= 1016; volumes = 15; aix_info(); aix_nolabel(cxt); /* %% */