Removed some accidentally copied code.

Signed-off-by: Andrew Maclean <andrew.amaclean@gmail.com>