removed duplication of function

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
peping

Signed-off-by: Alexander Skjolden <alex@plastboks.net>