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/e3b84173cd9a
branches:  trunk
changeset: 375070:e3b84173cd9a
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 1bf3dea2e3ea -r e3b84173cd9a 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 @@ static void
 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