remove unused code

Signed-off-by: Steven Armstrong <steven.armstrong@id.ethz.ch>