Remove old/unused code

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>