cleaned up unused code

Signed-off-by: Daniel Dahlkvist (home) <messer_@hotmail.com>