drivers/atm: Correct redundant test