From patchwork Mon Sep 13 08:30:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 510314 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91AC7C433F5 for ; Mon, 13 Sep 2021 08:34:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C59C60F46 for ; Mon, 13 Sep 2021 08:34:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238356AbhIMIeG (ORCPT ); Mon, 13 Sep 2021 04:34:06 -0400 Received: from mail-mw2nam12on2084.outbound.protection.outlook.com ([40.107.244.84]:62366 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S238265AbhIMIdT (ORCPT ); Mon, 13 Sep 2021 04:33:19 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aMtLxSlBkwhKdEq2mkSYaYenzNfBRRjdyMuln2TgjKS0LnSnpNstctSWgCtbukKqbC2h1PV4bLNj6ZelbQWzEuBfswCeIX2PjiJS47yCKPrr2+XVxshD+wLaopmjODaV/U6zfQVWvD+h5ncRu5aneujYwAd4WwDfYWNKE/g/f7th98/+bWu2gVrAtnL8BLNmyd2+p7damn4NNeyvWUeAU2L+LzhMbzkEghrK1vILtzGMOuVuSWawERIt32xITuKEMDdqFlcKlxfdd9Xygh4sAmw4Di+0swxLxO1TagNFzE788NdkzCvv5C9bdNBk/E7xFp7yP5jS+E4tUuanpZh93Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HcjC0x4GRAxwfKkA5UMWXqZtFAOXbrjpXeRYZIftO60=; b=ORTlXl5e7l8t2oTpJBja2pVMMCVotv6lCGq+fAVDky4HPQ7z6IpgNp8yGRXzC06AkR5Aw/DjNvZ54UWN9WB8GmJ/GLUNif2P6JAylmmUEhEoJkWSqRspsZ6BkpTN0ssa3X4JohUprDiGm4UCQlODxpi0TJz/AAScveZLa2Eq3gM3wNmVTrMmqNQ1UF6rkMe0Q09laDSUdWP2fHm0xGZ5mko1fdcWVtyMEP+UvE5vOFDxPLbLjTIV0/jqQEjHhYlTNnaLDzPA3efgTrBZ+ATxjP7OJ9Z+tfCC0czsugsB9xOHaEpAUOPJbd36BP3CnF6Hr2/mhmtdBKfQ9t01Xjw9Dg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HcjC0x4GRAxwfKkA5UMWXqZtFAOXbrjpXeRYZIftO60=; b=kfUwQABpihYsUrpyYO7vdylGzZwQ7Mwy5uL/FN7p4nGWYoYz8UuJXfCYhPhTFBgeN0Odn6QXUI6OcRq0Htd67/UFUpo/LmN0ze0cAjzb9+PRTqVx2fHrSomSQTcQR7I5xHfGb1I3gJigAn2Vb2CdI8he2TOoRrdrqTMzBd+eTuk= Authentication-Results: driverdev.osuosl.org; dkim=none (message not signed) header.d=none; driverdev.osuosl.org; dmarc=none action=none header.from=silabs.com; Received: from SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) by SN6PR11MB2717.namprd11.prod.outlook.com (2603:10b6:805:60::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.16; Mon, 13 Sep 2021 08:31:58 +0000 Received: from SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd]) by SN6PR11MB2718.namprd11.prod.outlook.com ([fe80::7050:a0a:415:2ccd%7]) with mapi id 15.20.4500.017; Mon, 13 Sep 2021 08:31:58 +0000 From: Jerome Pouiller To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Kalle Valo , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH v2 21/33] staging: wfx: remove unused definition Date: Mon, 13 Sep 2021 10:30:33 +0200 Message-Id: <20210913083045.1881321-22-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913083045.1881321-1-Jerome.Pouiller@silabs.com> References: <20210913083045.1881321-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PAZP264CA0067.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1fd::10) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (37.71.187.125) by PAZP264CA0067.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:1fd::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Mon, 13 Sep 2021 08:31:40 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 39edc353-aa0f-42df-cb79-08d97690e9a6 X-MS-TrafficTypeDiagnostic: SN6PR11MB2717: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OoDPjuSa8oj5fqyU+OVS8QlXQQ/HpMNuuhYU9ogV7Z0GwQjKqZaKtZkgwbLTVSS/8uD/dCkY7jjSkU4MKFprwiMa5MqF1josQhAksRgBo/JODXS6F3lGTwTQgGyIkH/GmMcnxYAzPpLPnY94fnfpEH71XZabr3HHnowMuDT1wzTjpq+cNJOdJr6qVamfrHtW9AC5oA9wUQYHrQ5ZkVpURDKY5CRMV4nTMnnovebBW5bv51FTTavpMCHIFyo5pfi3c9s2lTPqJws8xa8SInpGdkQdAYlIsa/VokD3cZc3IA5iaxcf9RN0vCZ6WwePoBQ44G5yDYEyz8kLVHsM+P0y745sfVZGWnFmm0Wwv9oYD9UL80cccjjiIFNrLjVCf4ki0CmKaJsbp9DPVuirRUmZv8aG7q8/OlipMr2Co6p2ARzyyqML+TKntVrT10KFqptJCBpgupQMukyf3OGbNXGjZvlGeTz3dzetNwVsMPdTjpzFWsMed0IhI3Rte0V4A8JzStUnntmYuMrV80rOyrrX4UGLUurZju9tPhlGDBODCtvKZkPAXVQrvbpUi+CFRDbdTCXv1ivzm8Vmk/z/SpwN5JPoZJpqH+G1o4YjfwU7wNK8IUf1UGeckuMmYlsRAB3+oeSNgN2IvhJ+EJKNgo+eVo7KOzRNWo/ZR+Rdaa9xiyDnTodEcuEcJjqgiza9zR4K X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2718.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(4326008)(2906002)(107886003)(26005)(66946007)(38100700002)(52116002)(7696005)(1076003)(956004)(36756003)(316002)(8676002)(38350700002)(186003)(8936002)(83380400001)(54906003)(66556008)(66476007)(508600001)(6486002)(5660300002)(6666004)(86362001)(2616005)(4744005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?zC238Gk47QiLeV3ID9Mguu+nX?= =?utf-8?q?VwQjO+qrIsJa40QMDxNtpO40LFjCyb99Op7WaejiFGgzN5Dr7XkOckVu?= =?utf-8?q?Hp2FGIZtH3VxbUgEREzRW2L2L5ZtP+jGufcPb0/1ExAJvtUWc4mHC4yE?= =?utf-8?q?Q679lXvRw46/YNPYoecRSTe/MNBeh2FAOylC8H5T7yWP9i9O+Bc5euuv?= =?utf-8?q?zcmsymNAmlo0BHggeWgDqTp6P2v0CtnVcLDss5xHDsM5lkSDBNuqZpe0?= =?utf-8?q?kMWe2xnn/Pq2eccrmXQvO9c9KFYWFQqXA8orDlrl56wxTf3AK6kjPvi6?= =?utf-8?q?4j0LMWIgeSmNvZ744Cq01Exz+0N4wIKj4MEjiIl5p5FhVXQX4VScwah9?= =?utf-8?q?1Pea9ApApfwhyNklKYMngANRyNx6XW7nQ8K/6EwSoFgTlAfCtGIHvgr+?= =?utf-8?q?DwIuvQLLK0uE1OTG3xL/8+2eNh3TvxMYcO9CQE9QN4cYQXxEcxSRZjVW?= =?utf-8?q?lhJOSpK3fOLE/U+olSRbyzDd3kf2vaRLNELl3U9BXfPkopUD99v+HfA2?= =?utf-8?q?G4IWci2DZdgC+qKVGcL4TM6+nI0S8g+JflrfNY8B5feb2lgR3D9Y9Kyp?= =?utf-8?q?3ll8Yb77NU/MOFRtfYu9SxGzXoY5Q4acH2VL8U5haQj0xgGRjakbTZRB?= =?utf-8?q?eEyrVhA6/u+qFRdN/CTkMubpKFt+gGDEB0igVubZFkHlduRSGU2MHH3d?= =?utf-8?q?a699UbKVApNULzx2YDa9D3sXq5B71rS4RcXwNwraCu0Cp1kPPMz+sPPI?= =?utf-8?q?KAttGcJljXBl/G6epinqkzOHNA//B2Hp2+vNf1LAVrKz+qs355cyWFMm?= =?utf-8?q?FQDr39hQyFNHoTit84rlNAjaJPV6nP13Pk9irMWN3owRL6Gd3OKU2D6W?= =?utf-8?q?SGrn2DmsjHJgXh1dOV5OvQym3u8ObuQ5Oc6spBkZhuyd7NP5/NbbpFb+?= =?utf-8?q?6TDw9Cwl6nFad2EPixabKUGcLHSalQ1lJkFeRNf09NnbahjOSGvCY3yb?= =?utf-8?q?KQlqMBnMgtIIci9mcQaDY1NMmtA6voxkv13N7ckKX5AqSqCQ7M5tOk7i?= =?utf-8?q?paKOrlp3mOqdpsFA3u0mNWy35Nhblw3SPMMvNM8+QaZLPCDt1TPfQZEu?= =?utf-8?q?ctAhHkl2K1f5uLFU1e5NqanSwu97bbI1ntKQu3qlWF39Iby8le7Iu83u?= =?utf-8?q?Xs+tNZOP3MPxK4d3bktfNZFIbPaSqgyNhWvFkdzM+95mqrS2WppZC+Z5?= =?utf-8?q?wP8K5MecjgRuKZsvQtxST8kmjqIoyHjT134fOxQJx4uLssbYS1FwKO2+?= =?utf-8?q?xv1Ki1LUisefnOBmzZdzYTtVaWJpbn/A0gHFUNsMeKgtZ8Nd6x5tR2qO?= =?utf-8?q?J9wfqFilkVpfoqPL9djEHlbkmFb/Tz9?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39edc353-aa0f-42df-cb79-08d97690e9a6 X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 08:31:41.9315 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DE1ceCGjKWhNW/SgS+w5BfbsraWB5IFux1qd/vKpePKj6SE7vIhBXFn54qfuFSqTk2tBvhAd/jrFTtwxuRV5oA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2717 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Jérôme Pouiller The enum hif_fw_type is never used in the driver. Drop it. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_general.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wfx/hif_api_general.h b/drivers/staging/wfx/hif_api_general.h index 24188945718d..77030cecf134 100644 --- a/drivers/staging/wfx/hif_api_general.h +++ b/drivers/staging/wfx/hif_api_general.h @@ -113,12 +113,6 @@ enum hif_api_rate_index { API_RATE_NUM_ENTRIES = 22 }; -enum hif_fw_type { - HIF_FW_TYPE_ETF = 0x0, - HIF_FW_TYPE_WFM = 0x1, - HIF_FW_TYPE_WSM = 0x2 -}; - struct hif_ind_startup { // As the others, this struct is interpreted as little endian by the // device. However, this struct is also used by the driver. We prefer to