[PATCH 7/9] fdisk: sun: remove unused function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Davidlohr Bueso <dave@xxxxxxx>

Signed-off-by: Davidlohr Bueso <dave@xxxxxxx>
---
 fdisk/fdisksunlabel.c |    6 ------
 fdisk/fdisksunlabel.h |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/fdisk/fdisksunlabel.c b/fdisk/fdisksunlabel.c
index 90f52f4..5dbcef4 100644
--- a/fdisk/fdisksunlabel.c
+++ b/fdisk/fdisksunlabel.c
@@ -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;
diff --git a/fdisk/fdisksunlabel.h b/fdisk/fdisksunlabel.h
index d3cd430..abb29c3 100644
--- a/fdisk/fdisksunlabel.h
+++ b/fdisk/fdisksunlabel.h
@@ -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);
-- 
1.7.4.1




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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux