]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: remove dead code
authorKarel Zak <kzak@redhat.com>
Mon, 21 Jan 2013 11:26:21 +0000 (12:26 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 11 Mar 2013 11:47:31 +0000 (12:47 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisks/fdisk.c

index d72f72ea316048230d21f28da140b7829d77a54a..d7a7d0050a2e79c4dd3ad5ea7c96a4f32d2a1646 100644 (file)
 
 #include "gpt.h"
 
-#define hex_val(c)     ({ \
-                               char _c = (c); \
-                               isdigit(_c) ? _c - '0' : \
-                               tolower(_c) + 10 - 'a'; \
-                       })
-
 
 /* menu list description */