summaryrefslogtreecommitdiffstats
path: root/super-gpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'super-gpt.c')
-rw-r--r--super-gpt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/super-gpt.c b/super-gpt.c
index 6244657d..8f7d4d93 100644
--- a/super-gpt.c
+++ b/super-gpt.c
@@ -82,8 +82,6 @@ static int load_gpt(struct supertype *st, int fd, char *devname)
return 1;
}
- ioctl(fd, BLKFLSBUF, 0); /* make sure we read current data */
-
lseek(fd, 0, 0);
if (read(fd, super, sizeof(*super)) != sizeof(*super)) {
no_read: