minor code clean up

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