Remove needless variable assignment