Remove local variable only used once