summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2011-10-08 10:50:48 +0000
committerbrueffer <brueffer@FreeBSD.org>2011-10-08 10:50:48 +0000
commit2c3684636b96762e0f247c5a3e15f835aac190bc (patch)
tree14333f0676986f8fa35d9ec9ab0919730fecbb9e /sys/dev
parentdb03f845e19d2200d2762e8e1cc8bad430a3fe21 (diff)
downloadFreeBSD-src-2c3684636b96762e0f247c5a3e15f835aac190bc.zip
FreeBSD-src-2c3684636b96762e0f247c5a3e15f835aac190bc.tar.gz
Remove dead code, "error" doesn't change between this check and the
previous one. CID: 3254 Found with: Coverity Prevent(tm) MFC after: 1 week
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/bwn/if_bwn.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c
index a79ec11..c924a34 100644
--- a/sys/dev/bwn/if_bwn.c
+++ b/sys/dev/bwn/if_bwn.c
@@ -3213,8 +3213,6 @@ bwn_core_init(struct bwn_mac *mac)
bwn_pio_init(mac);
else
bwn_dma_init(mac);
- if (error)
- goto fail1;
bwn_wme_init(mac);
bwn_spu_setdelay(mac, 1);
bwn_bt_enable(mac);
@@ -3230,8 +3228,6 @@ bwn_core_init(struct bwn_mac *mac)
return (error);
-fail1:
- bwn_chip_exit(mac);
fail0:
siba_powerdown(sc->sc_dev);
KASSERT(mac->mac_status == BWN_MAC_STATUS_UNINIT,
OpenPOWER on IntegriCloud