summaryrefslogtreecommitdiffstats
path: root/fdisk/fdisksgilabel.c
diff options
context:
space:
mode:
authorDavidlohr Bueso2012-06-17 18:10:22 +0200
committerKarel Zak2012-06-21 08:05:29 +0200
commit4fde0b86c1c90e6e3f3f94b130ecabca422872f4 (patch)
tree69d42dad4d743daf951f96e6121a55450e53b59d /fdisk/fdisksgilabel.c
parentfdisk: sgi: remove unused code (diff)
downloadkernel-qcow2-util-linux-4fde0b86c1c90e6e3f3f94b130ecabca422872f4.tar.gz
kernel-qcow2-util-linux-4fde0b86c1c90e6e3f3f94b130ecabca422872f4.tar.xz
kernel-qcow2-util-linux-4fde0b86c1c90e6e3f3f94b130ecabca422872f4.zip
fdisk: sgi: remove unused function
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Diffstat (limited to 'fdisk/fdisksgilabel.c')
-rw-r--r--fdisk/fdisksgilabel.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fdisk/fdisksgilabel.c b/fdisk/fdisksgilabel.c
index bae2075a2..1557e2cc2 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;