Remove needless local variable