fdisk: code shrink without logic changes
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Apr 2010 00:31:43 +0000 (02:31 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Apr 2010 00:31:43 +0000 (02:31 +0200)
commit5ea1de2235e75d8fd4f559c7c6cca9a2d0396094
tree29c746ef85d67a7c9810f28118b9115e3aa615ae
parent37bc1eb5cdcaec015579241fc1f20fd03bed2d67
fdisk: code shrink without logic changes

function                                             old     new   delta
create_doslabel                                      113     110      -3
set_start_sect                                         8       4      -4
set_nr_sects                                           8       4      -4
get_start_sect                                         8       4      -4
get_nr_sects                                           8       4      -4
store4_little_endian                                  21       -     -21
read4_little_endian                                   33       -     -33
is_cleared_partition                                  84      21     -63
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 0/6 up/down: 0/-136)           Total: -136 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/fdisk.c