Removed unused line.

A little conditional mistake which was not causing any issue. Removed
it.