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/10997d15dd53
branches:  trunk
changeset: 376926:10997d15dd53
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 2469165b30e1 -r 10997d15dd53 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