Remove duplicate condition

Remove duplicate