Removed unused code

Signed-off-by: Conrad Bartels Daal <conrad@proxible.com>