From 736e52532efe56298df665322a69b3014f4dc660 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 25 Feb 2006 03:36:00 +0000 Subject: Minor cleanup from Garrett Kajmowicz. --- util-linux/fdisk.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'util-linux') 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; -- cgit v1.1