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/9d400e9fd555
branches:  trunk
changeset: 947837:9d400e9fd555
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 3a56b2a0cda8 -r 9d400e9fd555 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