diff options
-rw-r--r-- | util-linux/fdisk.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 33ad84702..a64515598 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -37,8 +37,6 @@ #include "busybox.h" -#define MAKE_VERSION(p,q,r) (65536*(p) + 256*(q) + (r)) - #define DKTYPENAMES #define BLKRRPART _IO(0x12,95) /* re-read partition table */ @@ -3977,8 +3975,7 @@ create_doslabel(void) static void get_sectorsize(void) { - if (!user_set_sector_size - && get_kernel_revision() >= MAKE_VERSION(2,3,3)) { + if (!user_set_sector_size) { int arg; if (ioctl(fd, BLKSSZGET, &arg) == 0) sector_size = arg; |