Remove unused lines in view controller