core: remove structural dead code

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