volume_id/get_devname: trivial code shrink
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Dec 2011 14:06:59 +0000 (15:06 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 6 Dec 2011 14:06:59 +0000 (15:06 +0100)
commitc3375f0389469f596b93cdb34a6005382bc19a36
tree0d8f0eacc77ea786b38ed282ba72b63d1b2a2995
parentb8ff9357d579913a5c699d89b4126d859590eea3
volume_id/get_devname: trivial code shrink

function                                             old     new   delta
uuidcache_init                                        36      41      +5
get_devname_from_uuid                                 55      51      -4
get_devname_from_label                                61      57      -4
display_uuid_cache                                   109     105      -4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 5/-12)              Total: -7 bytes

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