Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp590128yba; Sat, 4 May 2019 08:32:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSM3FXeB/oD0IUGOw1SPxpQQfJ1TGHiujq1b0lYpTJ8myclsrYz7659m0SAi1Ukovr4z27 X-Received: by 2002:a63:db10:: with SMTP id e16mr19277616pgg.142.1556983977313; Sat, 04 May 2019 08:32:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556983977; cv=none; d=google.com; s=arc-20160816; b=rQLYcpKsWC4tCYf0aLRQy6bynQ6kbHa7tKpvTYCpfMf/HUHUpsDWnooovJdsq6rdjR gWp9Crj1dxRaHMGBoDls50ZSJRNVu4gaBwU9GzQGlnTVfQKTYU/NDBF/DDQWza1yNmx8 LTDyfLFeRe9jWgEA39KeLcUEiVN9c6DvwlO5h31fNB9PTMidM9DeLtp3b5bvNlBe65q/ 5LwiTGqGeiNev30upah4uhXKasFDY05UxVZwmZFBTDZGWDSPFPcN9jbnmxJpShhyOGE6 jbfzRcElrr2Uc5WyYYj15tFeHBSC3gxmhsAfZEAfWkX3KBslxGMO0yLbzWrUEjuhgB7v BnMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oDu9auTHWyduenlzu8nzb0loKPLDlOGq0AL1dsawnvA=; b=x9y/QTeU1CMHlriBTJwNCR9mVV8HXRvSz3rRYlBMCRw3Q9wQHjXyc5TLQVX+vi2/39 yM9RGejRf9y/Ck456BitK+WJFxxP6GfYGFmBpBEx/FlfXTjgzJoW7Ws+15/eVuATTivA 0tmG+iw4oyuIL/u/uCvivY/Bx3Z9+8SwiaD29GBhrYg750sWp69Qo0Bs0beefEHI/tig oTUieKKcoUj2gkJhfFrGbGYmEv4Mokfi+dN2pvxvz9OCMglR/5ialElSJecfPePHEx8G +zRLWARGzgdGqZGnpiHcqIJUvWf+aMqSTx7Fqqbk9jHLV+IJAjUI97IlVa59nDQQymqO BC7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s4YMPgZp; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s21si7036466pgj.520.2019.05.04.08.32.42; Sat, 04 May 2019 08:32:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s4YMPgZp; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727191AbfEDP3t (ORCPT + 99 others); Sat, 4 May 2019 11:29:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:49600 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727173AbfEDP3s (ORCPT ); Sat, 4 May 2019 11:29:48 -0400 Received: from lore-desk-wlan.lan (unknown [151.66.59.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A755C20644; Sat, 4 May 2019 15:29:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556983787; bh=R9qhjjmHV8wchqd5xN6iRy9wTVi/T8hWa1CL/4bCEGw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s4YMPgZpzzSxtyohSbfFoKgY4eUSqNXG3bkJbgxqXvsOk00fIzEtqlkpha46vN0JC 3Y2cn+283pavdEGqAEUYYAx3zfiXEdkBa3zyqaf55iD2P//+3TQ0UO3vWMS8zvbkgy Sx8AqqZVK9G0TPx8bzNf5e1KlPGCU5xyV0FY3084= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, ryder.lee@mediatek.com, royluo@google.com Subject: [PATCH 13/17] mt7615: mcu: remove unused structure in mcu.h Date: Sat, 4 May 2019 17:29:05 +0200 Message-Id: <94788a284a514977661e809cbf2bc7c3ae091715.1556981521.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Remove following struct no longer used: - dev_info - bss_info - bss_info_tag_handler Signed-off-by: Lorenzo Bianconi --- .../net/wireless/mediatek/mt76/mt7615/mcu.h | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.h b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.h index 9455f8fa475d..2d3f88ed8dc9 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.h +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.h @@ -131,41 +131,11 @@ enum { #define CONN_STATE_CONNECT 1 #define CONN_STATE_PORT_SECURE 2 -struct dev_info { - u8 omac_idx; - u8 omac_addr[ETH_ALEN]; - u8 band_idx; - u8 enable; - u32 feature; -}; - enum { DEV_INFO_ACTIVE, DEV_INFO_MAX_NUM }; -struct bss_info { - u8 bss_idx; - u8 bssid[ETH_ALEN]; - u8 omac_idx; - u8 band_idx; - u8 bmc_tx_wlan_idx; /* for bmc tx (sta mode use uc entry) */ - u8 wmm_idx; - u32 network_type; - u32 conn_type; - u16 bcn_interval; - u8 dtim_period; - u8 enable; - u32 feature; -}; - -struct bss_info_tag_handler { - u32 tag; - u32 len; - void (*handler)(struct mt7615_dev *dev, - struct bss_info *bss_info, struct sk_buff *skb); -}; - struct bss_info_omac { __le16 tag; __le16 len; -- 2.20.1