diff options
author | Rob Landley | 2006-02-25 03:36:00 +0000 |
---|---|---|
committer | Rob Landley | 2006-02-25 03:36:00 +0000 |
commit | 736e52532efe56298df665322a69b3014f4dc660 (patch) | |
tree | 046db3d67b6b0de57e4ce14a4395e408d9f43cdc /util-linux | |
parent | b73451daee0d11bab67287058ae5d0e75b28b3c2 (diff) | |
download | busybox-736e52532efe56298df665322a69b3014f4dc660.zip busybox-736e52532efe56298df665322a69b3014f4dc660.tar.gz |
Minor cleanup from Garrett Kajmowicz.
Diffstat (limited to 'util-linux')
-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 33ad847..a645155 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; |