Driver: Use an early return instead of a long if condition (NFC)

This just flattens an if block by returning early on the "else"
condition.