mdev: use option parser helper
authorJan Klötzke <jan@kloetzke.net>
Fri, 3 May 2019 20:35:51 +0000 (22:35 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Jun 2019 11:00:47 +0000 (13:00 +0200)
commit728e53d38887c268b3557afadfc38472fa4f0cd6
tree21a4a307870c6026828aeb3f413db51f7294a75a
parentd04b7261735788eea5e4d6d4c8c7159f17942581
mdev: use option parser helper

function                                             old     new   delta
process_action                                         -    1051   +1051
mdev_main                                           1324     255   -1069
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 1051/-1069)        Total: -18 bytes

Signed-off-by: Jan Klötzke <jan@kloetzke.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mdev.c