From owner-svn-src-all@freebsd.org Thu May 26 22:43:03 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1D4DB47403; Thu, 26 May 2016 22:43:03 +0000 (UTC) (envelope-from avos@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A517140F; Thu, 26 May 2016 22:43:03 +0000 (UTC) (envelope-from avos@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4QMh2mR058020; Thu, 26 May 2016 22:43:02 GMT (envelope-from avos@FreeBSD.org) Received: (from avos@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4QMh2Zo058018; Thu, 26 May 2016 22:43:02 GMT (envelope-from avos@FreeBSD.org) Message-Id: <201605262243.u4QMh2Zo058018@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: avos set sender to avos@FreeBSD.org using -f From: Andriy Voskoboinyk Date: Thu, 26 May 2016 22:43:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r300788 - in head/sys/dev: rtwn urtwn X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 22:43:03 -0000 Author: avos Date: Thu May 26 22:43:02 2016 New Revision: 300788 URL: https://svnweb.freebsd.org/changeset/base/300788 Log: rtwn, urtwn: drop unused structures. urtwn(4) uses another implementation of command queue; rtwn(4) don't need it at all. Modified: head/sys/dev/rtwn/if_rtwnreg.h head/sys/dev/urtwn/if_urtwnvar.h Modified: head/sys/dev/rtwn/if_rtwnreg.h ============================================================================== --- head/sys/dev/rtwn/if_rtwnreg.h Thu May 26 22:35:52 2016 (r300787) +++ head/sys/dev/rtwn/if_rtwnreg.h Thu May 26 22:43:02 2016 (r300788) @@ -1236,8 +1236,6 @@ struct rtwn_tx_radiotap_header { (1 << IEEE80211_RADIOTAP_FLAGS | \ 1 << IEEE80211_RADIOTAP_CHANNEL) -struct rtwn_softc; - struct rtwn_rx_data { bus_dmamap_t map; struct mbuf *m; @@ -1272,23 +1270,6 @@ struct rtwn_tx_ring { int cur; }; -struct rtwn_host_cmd { - void (*cb)(struct rtwn_softc *, void *); - uint8_t data[256]; -}; - -struct rtwn_cmd_key { - struct ieee80211_key key; - uint16_t associd; -}; - -struct rtwn_host_cmd_ring { - struct rtwn_host_cmd cmd[RTWN_HOST_CMD_RING_COUNT]; - int cur; - int next; - int queued; -}; - struct rtwn_vap { struct ieee80211vap vap; int (*newstate)(struct ieee80211vap *, Modified: head/sys/dev/urtwn/if_urtwnvar.h ============================================================================== --- head/sys/dev/urtwn/if_urtwnvar.h Thu May 26 22:35:52 2016 (r300787) +++ head/sys/dev/urtwn/if_urtwnvar.h Thu May 26 22:43:02 2016 (r300788) @@ -116,21 +116,6 @@ struct urtwn_vap { }; #define URTWN_VAP(vap) ((struct urtwn_vap *)(vap)) -struct urtwn_host_cmd { - void (*cb)(struct urtwn_softc *, void *); - uint8_t data[256]; -}; - -struct urtwn_cmd_newstate { - enum ieee80211_state state; - int arg; -}; - -struct urtwn_cmd_key { - struct ieee80211_key key; - uint16_t associd; -}; - enum { URTWN_BULK_RX, URTWN_BULK_TX_BE, /* = WME_AC_BE */