diff options
author | imp <imp@FreeBSD.org> | 2004-06-18 01:28:54 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-06-18 01:28:54 +0000 |
commit | 03002ff9681380b29280c53799aac951303a3672 (patch) | |
tree | 05d73bfb34a3cca31b63b7d5b4569a774bdb47e4 | |
parent | c05c9743433f51e07655cee77b2fe501fc13fec4 (diff) | |
download | FreeBSD-src-03002ff9681380b29280c53799aac951303a3672.zip FreeBSD-src-03002ff9681380b29280c53799aac951303a3672.tar.gz |
A couple more style(9) nits I should have included in last commit
-rw-r--r-- | sys/dev/ed/if_ed_pci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/ed/if_ed_pci.c b/sys/dev/ed/if_ed_pci.c index 9fb54ed..245faff 100644 --- a/sys/dev/ed/if_ed_pci.c +++ b/sys/dev/ed/if_ed_pci.c @@ -62,7 +62,7 @@ static int ed_pci_probe(device_t); static int ed_pci_attach(device_t); static int -ed_pci_probe (device_t dev) +ed_pci_probe(device_t dev) { u_int32_t type = pci_get_devid(dev); struct _pcsid *ep =pci_ids; @@ -71,10 +71,9 @@ ed_pci_probe (device_t dev) ++ep; if (ep->desc) { device_set_desc(dev, ep->desc); - return 0; - } else { - return ENXIO; + return (0); } + return (ENXIO); } static int |