clarify shortcut return
Submitted by: cognet, kevlo MFC after: 1 week
This commit is contained in:
parent
16f1e614d9
commit
30e218c0a0
@ -196,8 +196,8 @@ ath_pci_attach(device_t dev)
|
||||
ATH_LOCK_INIT(sc);
|
||||
|
||||
error = ath_attach(pci_get_device(dev), sc);
|
||||
if (error == 0)
|
||||
return error;
|
||||
if (error == 0) /* success */
|
||||
return 0;
|
||||
|
||||
ATH_LOCK_DESTROY(sc);
|
||||
bus_dma_tag_destroy(sc->sc_dmat);
|
||||
|
Loading…
Reference in New Issue
Block a user