Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci Remove unused (and marked as such but actu...



details:   https://anonhg.NetBSD.org/src-all/rev/bffd5183ad16
branches:  trunk
changeset: 1025398:bffd5183ad16
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Sun Sep 27 13:13:40 2020 +0200

description:
Remove unused (and marked as such but actually really always unused)
variable.

diffstat:

 sys/dev/pci/if_rtwn.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 15514384b462 -r bffd5183ad16 sys/dev/pci/if_rtwn.c
--- a/sys/dev/pci/if_rtwn.c     Sun Sep 27 13:04:19 2020 +0200
+++ b/sys/dev/pci/if_rtwn.c     Sun Sep 27 13:13:40 2020 +0200
@@ -480,7 +480,6 @@
 rtwn_vap_delete(struct ieee80211vap *vap)
 {       
        struct ifnet *ifp = vap->iv_ifp;
-       struct urtwn_softc *sc __unused = vap->iv_ic->ic_softc;
 
        bpf_detach(ifp);
        ieee80211_vap_detach(vap);



Home | Main Index | Thread Index | Old Index