Remove duplicate code block

Signed-off-by: Daan Hoogland <daan@onecht.net>