]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: sun: remove unused function
authorDavidlohr Bueso <dave@gnu.org>
Sun, 17 Jun 2012 16:10:26 +0000 (18:10 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 21 Jun 2012 06:05:40 +0000 (08:05 +0200)
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
fdisk/fdisksunlabel.c
fdisk/fdisksunlabel.h

index d80b039b094e948d4828cb7228fe669f7e026b55..8698682241545c6f4a7c119b9c6e2ab6270dc2ef 100644 (file)
@@ -78,12 +78,6 @@ static void init(void)
        partitions = SUN_NUM_PARTITIONS;
 }
 
-void sun_nolabel(struct fdisk_context *cxt)
-{
-       sunlabel->magic = 0;
-       partitions = 4;
-}
-
 int check_sun_label(struct fdisk_context *cxt)
 {
        unsigned short *ush;
index d3cd43016f52422f20f4b497dcb2936473a12806..abb29c3b50ad97bb750336a6bf1a6af72c2ff752 100644 (file)
@@ -78,7 +78,6 @@ struct sun_disk_label {
 /* fdisksunlabel.c */
 extern struct systypes sun_sys_types[];
 extern int check_sun_label(struct fdisk_context *cxt);
-extern void sun_nolabel(struct fdisk_context *cxt);
 extern void create_sunlabel(struct fdisk_context *cxt);
 extern void sun_delete_partition(struct fdisk_context *cxt, int i);
 extern int sun_change_sysid(struct fdisk_context *cxt, int i, uint16_t sys);