minor code cleanup

Signed-off-by: Lars Martin <lars.martin@smb-tec.com>