mdev: move action processing into separate functions
authorJan Klötzke <jan@kloetzke.net>
Fri, 3 May 2019 20:35:50 +0000 (22:35 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Jun 2019 10:55:30 +0000 (12:55 +0200)
commitd04b7261735788eea5e4d6d4c8c7159f17942581
tree8961c5272efafa213a8ae9cd1621b8cedd8f4d13
parentf3634584d0fdeb4ae9e2fe0f5971d45b77e40296
mdev: move action processing into separate functions

This purely moves code from main() to separate functions for better
extensibility.

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