Removed duplicated condition and unused variable
Merge pull request #576 from simsalabim/remove-redundant-condition

Removed duplicated condition and unused variable