diff options
author | sam <sam@FreeBSD.org> | 2006-12-01 16:03:39 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-12-01 16:03:39 +0000 |
commit | 6008dc4f176af39b35e6eaf7a9c6faa9725402f6 (patch) | |
tree | 2e50395ac9a553dced41922a1039c17c93cbb734 /sys/dev/ath/if_ath_pci.c | |
parent | 2c7068371e4f4d23be7c6d9d23c2b627674f277c (diff) | |
download | FreeBSD-src-6008dc4f176af39b35e6eaf7a9c6faa9725402f6.zip FreeBSD-src-6008dc4f176af39b35e6eaf7a9c6faa9725402f6.tar.gz |
clarify shortcut return
Submitted by: cognet, kevlo
MFC after: 1 week
Diffstat (limited to 'sys/dev/ath/if_ath_pci.c')
-rw-r--r-- | sys/dev/ath/if_ath_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/if_ath_pci.c b/sys/dev/ath/if_ath_pci.c index d11f929..a3e001b 100644 --- a/sys/dev/ath/if_ath_pci.c +++ b/sys/dev/ath/if_ath_pci.c @@ -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); |