Remove scanner code that doesn't do anything