Remove unnecessary condition check