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 ethercom and sc_newstate fro...



details:   https://anonhg.NetBSD.org/src-all/rev/9cf73c177780
branches:  trunk
changeset: 361835:9cf73c177780
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Sun Sep 27 12:56:51 2020 +0200

description:
Remove unused ethercom and sc_newstate from softc, they are no longer
used after conversion to the new stack.

diffstat:

 sys/dev/pci/if_rtwnreg.h |  3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diffs (15 lines):

diff -r cf49436620ec -r 9cf73c177780 sys/dev/pci/if_rtwnreg.h
--- a/sys/dev/pci/if_rtwnreg.h  Sun Sep 27 12:55:41 2020 +0200
+++ b/sys/dev/pci/if_rtwnreg.h  Sun Sep 27 12:56:51 2020 +0200
@@ -145,11 +145,8 @@
 
 struct rtwn_softc {
        device_t                        sc_dev;
-       struct ethercom                 sc_ec;
        struct ieee80211com             sc_ic;
        struct ifqueue                  sc_sendq;
-       int                             (*sc_newstate)(struct ieee80211vap *,
-                                           enum ieee80211_state, int);
 
        /* PCI specific goo. */
        bus_dma_tag_t                   sc_dmat;



Home | Main Index | Thread Index | Old Index