Skip to contentSkip to conversation

fdisk: sgi: 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 6/9 fdisk: sgi: remove unused function

From: Davidlohr Bueso <[email protected]>

---
 fdisk/fdisksgilabel.c |    6 ------
 fdisk/fdisksgilabel.h |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)
fdisk/fdisksgilabel.c +0 -6
index eee86c0..b7c1db2 100644
@@ -116,12 +116,6 @@ sgi_get_ntrks(struct fdisk_context *cxt) {
 	return SSWAP16(sgilabel->devparam.ntrks);
 }
 
-void
-sgi_nolabel(struct fdisk_context *cxt) {
-	sgilabel->magic = 0;
-	partitions = 4;
-}
-
 static unsigned int
 two_s_complement_32bit_sum(unsigned int *base, int size /* in bytes */) {
 	int i = 0;
fdisk/fdisksgilabel.h +0 -1
index dff32b1..0c76edb 100644
@@ -111,7 +111,6 @@ typedef struct {
 
 /* fdisksgilabel.c */
 extern struct	systypes sgi_sys_types[];
-extern void	sgi_nolabel(struct fdisk_context *cxt);
 extern int	check_sgi_label(struct fdisk_context *cxt);
 extern void	sgi_list_table( struct fdisk_context *cxt, int xtra );
 extern int  sgi_change_sysid(struct fdisk_context *cxt, int i, int sys);
Signature · 1 line
1.7.4.1