diff options
author | imp <imp@FreeBSD.org> | 2005-09-22 04:49:17 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-09-22 04:49:17 +0000 |
commit | 1fb311845a8f1a5f0bb5240537f57f9a74def179 (patch) | |
tree | 72dd46dd7f39f378c847f93ffd27895cc0d46071 /sys/dev/an | |
parent | 57250fe83763a186ef1aaebdff9cfa501dd02021 (diff) | |
download | FreeBSD-src-1fb311845a8f1a5f0bb5240537f57f9a74def179.zip FreeBSD-src-1fb311845a8f1a5f0bb5240537f57f9a74def179.tar.gz |
MFp4: trivial KNF nits
Diffstat (limited to 'sys/dev/an')
-rw-r--r-- | sys/dev/an/if_an_pccard.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/an/if_an_pccard.c b/sys/dev/an/if_an_pccard.c index 5e5d9d1..c283663 100644 --- a/sys/dev/an/if_an_pccard.c +++ b/sys/dev/an/if_an_pccard.c @@ -160,19 +160,14 @@ an_pccard_attach(device_t dev) sc->an_dev = dev; error = an_attach(sc, device_get_unit(dev), flags); - if (error) { + if (error) goto fail; - } /* * Must setup the interrupt after the an_attach to prevent racing. */ error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, an_intr, sc, &sc->irq_handle); - if (error) { - goto fail; - } - fail: if (error) an_release_resources(dev); |