diff options
| author | christos <christos@NetBSD.org> | 2013-10-16 18:23:39 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2013-10-16 18:23:39 +0000 |
| commit | 21f52f5b0714954b0e6f32ef142e4170e76b3a49 (patch) | |
| tree | abfb92eb4e3a63529e325ebd40e5769d8073a9f3 /sys/dev | |
| parent | be66d75aa0c26e393dcdaa9a32e553a35b5f2509 (diff) | |
remove unused variable
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/if_athn_usb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/if_athn_usb.c b/sys/dev/usb/if_athn_usb.c index 926f9f3ff6f..999e110e328 100644 --- a/sys/dev/usb/if_athn_usb.c +++ b/sys/dev/usb/if_athn_usb.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_athn_usb.c,v 1.5 2013/04/03 14:20:18 christos Exp $ */ +/* $NetBSD: if_athn_usb.c,v 1.6 2013/10/16 18:23:39 christos Exp $ */ /* $OpenBSD: if_athn_usb.c,v 1.12 2013/01/14 09:50:31 jsing Exp $ */ /*- @@ -22,7 +22,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_athn_usb.c,v 1.5 2013/04/03 14:20:18 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_athn_usb.c,v 1.6 2013/10/16 18:23:39 christos Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -2731,7 +2731,7 @@ athn_usb_stop(struct ifnet *ifp) struct ar_htc_target_vif hvif; struct mbuf *m; uint8_t sta_index; - int s, error; + int s; DPRINTFN(DBG_FN, sc, "\n"); @@ -2771,7 +2771,7 @@ athn_usb_stop(struct ifnet *ifp) /* Remove default node. */ sta_index = 0; DPRINTFN(DBG_NODES, usc, "removing node %u\n", sta_index); - error = athn_usb_remove_hw_node(usc, &sta_index); + (void)athn_usb_remove_hw_node(usc, &sta_index); (void)athn_usb_wmi_cmd(usc, AR_WMI_CMD_DISABLE_INTR); (void)athn_usb_wmi_cmd(usc, AR_WMI_CMD_DRAIN_TXQ_ALL); |
