src: minor code cleanup

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