Remove unnecessary branch