src/udev: code cleanup

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>