qlogic: Deletion of unnecessary checks before two function calls