aboutsummaryrefslogtreecommitdiffstats
path: root/extlinux/main.c
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@gmail.com>2011-04-15 15:21:10 -0300
committerPaulo Alcantara <pcacjr@gmail.com>2011-04-15 15:21:10 -0300
commit205b829d0d9b6a6fe72b49b7ab763c75e27ebcdc (patch)
treea9b1c5deefd27f67c30d2a9bff70fedb6404b784 /extlinux/main.c
parentc3bac70e8a299934cce5450e3a7f8d1ee228d38a (diff)
downloadsyslinux-205b829d0d9b6a6fe72b49b7ab763c75e27ebcdc.tar.gz
syslinux-205b829d0d9b6a6fe72b49b7ab763c75e27ebcdc.tar.xz
syslinux-205b829d0d9b6a6fe72b49b7ab763c75e27ebcdc.zip
extlinux: remove already_installed
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Diffstat (limited to 'extlinux/main.c')
-rwxr-xr-xextlinux/main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/extlinux/main.c b/extlinux/main.c
index fb3cc779..e5212a95 100755
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -503,19 +503,6 @@ int install_file(const char *path, int devfd, struct stat *rst)
return 1;
}
-/*
- * SYSLINUX installs the string 'SYSLINUX' at offset 3 in the boot
- * sector; this is consistent with FAT filesystems. Earlier versions
- * would install the string "EXTLINUX" instead, handle both.
- */
-int already_installed(int devfd)
-{
- char buffer[8];
-
- xpread(devfd, buffer, 8, 3);
- return !memcmp(buffer, "SYSLINUX", 8) || !memcmp(buffer, "EXTLINUX", 8);
-}
-
#ifdef __KLIBC__
static char devname_buf[64];