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 variables.
details: https://anonhg.NetBSD.org/src-all/rev/544437a903f8
branches: trunk
changeset: 990273:544437a903f8
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Thu Sep 03 23:15:08 2020 +1000
description:
Remove unused variables.
diffstat:
sys/dev/pci/if_iwm.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diffs (44 lines):
diff -r 94f66a6fafd9 -r 544437a903f8 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Thu Sep 03 23:01:32 2020 +1000
+++ b/sys/dev/pci/if_iwm.c Thu Sep 03 23:15:08 2020 +1000
@@ -5448,7 +5448,6 @@
static int
iwm_lmac_scan(struct iwm_softc *sc)
{
- struct ieee80211com *ic = &sc->sc_ic;
struct iwm_host_cmd hcmd = {
.id = IWM_SCAN_OFFLOAD_REQUEST_CMD,
.len = { 0, },
@@ -5623,7 +5622,6 @@
static int
iwm_umac_scan(struct iwm_softc *sc)
{
- struct ieee80211com *ic = &sc->sc_ic;
struct iwm_host_cmd hcmd = {
.id = iwm_cmd_id(IWM_SCAN_REQ_UMAC, IWM_ALWAYS_LONG_GROUP, 0),
.len = { 0, },
@@ -7009,7 +7007,6 @@
iwm_stop(struct ifnet *ifp, int disable)
{
struct ieee80211vap *vap = ifp->if_softc;
- struct ieee80211_node *ni = vap->iv_bss;
struct ieee80211com *ic = vap->iv_ic;
struct iwm_softc *sc = ic->ic_softc;
@@ -8543,8 +8540,6 @@
static void
iwm_scan_start(struct ieee80211com *ic)
{
- struct iwm_softc *sc = ic->ic_softc;
-
IEEE80211_LOCK(ic);
ic->ic_flags |= IEEE80211_F_SCAN;
IEEE80211_UNLOCK(ic);
@@ -8556,7 +8551,6 @@
static void
iwm_scan_end(struct ieee80211com *ic)
{
- struct iwm_softc *sc = ic->ic_softc;
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
IEEE80211_LOCK(ic);
Home |
Main Index |
Thread Index |
Old Index