Remove unnecessary redirection.