Removed unnecessary code

Signed-off-by: Nathanael Burt <nathanael.burt@gmail.com>