From 1fb311845a8f1a5f0bb5240537f57f9a74def179 Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 22 Sep 2005 04:49:17 +0000 Subject: MFp4: trivial KNF nits --- sys/dev/an/if_an_pccard.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/dev/an/if_an_pccard.c') 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); -- cgit v1.1