* [PATCH 7/9] fdisk: sun: 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/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
^ 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 7/9] fdisk: sun: 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).