Skip to contentSkip to conversation

fdisk: sun: remove unused function

PATCH In review Davidlohr Bueso 1 participant 1 message Jun 17, 2012 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 7/9 fdisk: sun: remove unused function

From: Davidlohr Bueso <[email protected]>

---
 fdisk/fdisksunlabel.c |    6 ------
 fdisk/fdisksunlabel.h |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)
fdisk/fdisksunlabel.c +0 -6
index 90f52f4..5dbcef4 100644
@@ -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;
fdisk/fdisksunlabel.h +0 -1
index d3cd430..abb29c3 100644
@@ -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);
Signature · 1 line
1.7.4.1