fdisk: sun: remove unused function
PATCH 7/9 fdisk: sun: remove unused function
From: Davidlohr Bueso <[email protected]>
Signed-off-by Davidlohr Bueso <[email protected]>
--- fdisk/fdisksunlabel.c | 6 ------ fdisk/fdisksunlabel.h | 1 - 2 files changed, 0 insertions(+), 7 deletions(-)
fdisk/fdisksunlabel.c +0 -6
@@ -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
@@ -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