util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 6/9] fdisk: sgi: remove unused function
@ 2012-06-17 16:10 Davidlohr Bueso
  0 siblings, 0 replies; only message in thread
From: Davidlohr Bueso @ 2012-06-17 16:10 UTC (permalink / raw)
  To: Karel Zak, Petr Uzel; +Cc: util-linux

From: Davidlohr Bueso <dave@gnu.org>

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

diff --git a/fdisk/fdisksgilabel.c b/fdisk/fdisksgilabel.c
index eee86c0..b7c1db2 100644
--- a/fdisk/fdisksgilabel.c
+++ b/fdisk/fdisksgilabel.c
@@ -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;
diff --git a/fdisk/fdisksgilabel.h b/fdisk/fdisksgilabel.h
index dff32b1..0c76edb 100644
--- a/fdisk/fdisksgilabel.h
+++ b/fdisk/fdisksgilabel.h
@@ -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);
-- 
1.7.4.1





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-17 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-17 16:10 [PATCH 6/9] fdisk: sgi: remove unused function Davidlohr Bueso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).