Clean up unused code.

Clean up unused code.

Signed-off-by: Chuck Short <chuck.short@canonical.com>