delete defunct code