Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6276353yba; Wed, 1 May 2019 09:09:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiOxn9buFL055Yc9wn2AlCjOtgdpfWUXsUTSRyV9WYFWkzUilTvV0d+6YsqvMML8vpWiQd X-Received: by 2002:a17:902:6b02:: with SMTP id o2mr15101169plk.24.1556726955078; Wed, 01 May 2019 09:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556726955; cv=none; d=google.com; s=arc-20160816; b=ep6YIMc1zCWrAwdKeYgis9Fu1lQMVKptalcCIN6nwqMxZDOA02IQ0XiTYR3DEujkQW NBSKMPJhtHIEMT7mXvtHuSTpxEAlv/zaO5UgbhDAEsWoLjwND3RCJSxX+tVfPVdtTXck 6zSwfR5bTdqLhbOMh5vyR+p34o2YXku346ZVE6AuPKE6MIeOrIAvJJC3dwLYgcmhx6WY 2UdDH9IRiW0cv8BLxo2Dj1yfTDHviG88FjKkjZyt+m3t1oBiOlb3hxp8L/sOqSViJfp9 onfW5teXAEkc0by7cojjQ8qnxLjUuuAftUbaRxbfolBXlJs8sTKTJUzMNjMLA5aReJsg oBDQ== 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=8shmswPnftiaeaK+K+d8tlcCYayYMVE2VQmLyu6wgNA=; b=n1rFzaUkJapQQKU5j674h6VRQqKW5SjZXRscb9kwGzCkRNeRMqFpVz5RM3oQzjgX0H EdjhfntmX81AIvJ1sc9sYnTrH7PouwaSjDDEWP56qe/7ATh8cr3mSzzlCYgjsRo0uthy ZDx4MFnJvn8yf9Ig0uzVxYgDvlMRFWz0BJqj9EZEjYS4tiSVzX0cp/j1MY2/qbXZltVx q1KVTwGGbGKGjvgsrOhmb0zU9EFNS9JxP5SNKYSRwoGmmJdqNV/8uyncoKrGuUVDcgnh +73BPtNDH9UftCLWHBMKyI9hom5heqv8Tlc1O4g8eB9A7kzNz0G6uDgF1n37hoCPfsjX sI3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oYdN53u8; 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 m12si38705001pgv.586.2019.05.01.09.09.00; Wed, 01 May 2019 09:09:15 -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=oYdN53u8; 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 S1726974AbfEAQIN (ORCPT + 99 others); Wed, 1 May 2019 12:08:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:37222 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726961AbfEAQIM (ORCPT ); Wed, 1 May 2019 12:08:12 -0400 Received: from localhost.localdomain (unknown [151.66.22.155]) (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 F2EB8208C3; Wed, 1 May 2019 16:08:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556726892; bh=p0pM4ds5VgHEO7Po2dA2WfcwN77IKFCAw8XlpegZ6gQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oYdN53u8tW7LIYC3lH4pQ0xhD/VAHm0RMxT2JKxV5odymDRGlmyKOIb2p9sGVNvOw eQbHMlxnRnlue46naCjYDNpHE9FT1910dlg/9pUCmcEQHc4kynSrDUIdjTUDXmyPqS 2OZm6fj+LgpIMoqCXdZeHdm4GJ/dGLBBowBobCPQ= 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: [RFC 13/17] mt7615: mcu: remove unused structure in mcu.h Date: Wed, 1 May 2019 18:07:35 +0200 Message-Id: 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 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