core: remove unrequired function

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>