Remove unnecessary conditional branch