Removed useless code