From patchwork Mon Sep 13 13:01:52 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: 511491 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=ham 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 1282FC433F5 for ; Mon, 13 Sep 2021 13:03:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F293260E8B for ; Mon, 13 Sep 2021 13:03:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236140AbhIMNEx (ORCPT ); Mon, 13 Sep 2021 09:04:53 -0400 Received: from mail-dm6nam10on2082.outbound.protection.outlook.com ([40.107.93.82]:64256 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S240083AbhIMNEW (ORCPT ); Mon, 13 Sep 2021 09:04:22 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FEDi9iAsTAg6iiuT7HF6ZTdplmemLKiab/7FftOv1D5poURlbXEypGeRJh1p+Pc/K+jLQoo8JPzXpBi0HSuCcrmTJ0u/BsCrJzbuDcCBq/xrL6XvcunoExq+Z7K9WzdamRoI3lsTc2rsjU8RimSJUiRoXYa4cRFFQ7fDWUheOz9MaiTTgppj8rh6ImM11sZBFRv6jpU0Ikvb8XiozgN4W32ZlsaKd+epKVIxS6zt0Skj4E7vHZgsmX2R+ICuIRQK3z3qOGRh7fwiFsE47uFJwxtH5ON7GU7+eSc1HqVlMx0r9N8J1xElgiugqXu6dBmmW5e7aAIjN1hh72R8jP5Qag== 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=nojD7O46q7EoeKVjENFzJMGAuilxsrQrAhLk/G6VLVJu5IxpGEQ2sHyi3H+bbqMiye+rOQl+UbQZ0nY4TqagvpwJMS1vukmzxzHMF82W+pQyy/jWC3XcSFMII4ztcfOQqHgfwP3ujg43SsIOt1EgDuYuMrrRLXJ3hYWok3Mn5j5bhCUaU+Lu7pKl+L7vwstV9QkJquOb2LkZ2QJS4trs8U9Daac9jX2Srb+djjsCOBi6mUb2WH0IjVNGOS4wqWfvWTxD2fDQCb8aHbzQQvlZjHPqo4OAI88ht/byWHHDPyXLo1vKcpMQSjSNvUiL5NA5P1PoxUSgEzc+KQeO3AhoHA== 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=Y3y5GfdkBBjS10yJCW2NsIUDAeTijUNgNy9XkZZY8C10J3kP/HhrKfDqVzWpc+DCN5zA4f25sfDtdRUHzDxLsMYxZzzNTIU77Wm7EXIU+OvN1EjKxpXMVoP687CJ+wVqPker4Dl78ZlK4it4p9I2LO3GzSaAAcy03555mSqkXjY= 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 SN6PR11MB3502.namprd11.prod.outlook.com (2603:10b6:805:da::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Mon, 13 Sep 2021 13:02:56 +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 13:02:56 +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 v3 21/32] staging: wfx: remove unused definition Date: Mon, 13 Sep 2021 15:01:52 +0200 Message-Id: <20210913130203.1903622-22-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com> References: <20210913130203.1903622-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: PR2P264CA0021.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::33) 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 PR2P264CA0021.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101::33) 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 13:02:54 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bd254e6a-f94a-43c5-e31a-08d976b6cdff X-MS-TrafficTypeDiagnostic: SN6PR11MB3502: 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: ugDxRRQS7rKFL4X5wNZo391l93rQB+QynM30gdIG9RmQRezMjWBzZMomzHxcIECFyDt6daL5B+ZqoEi1cM4CHhUtL0Ox+VxWA+HbaH1bSK1zKtGoiAhyA69PUgjclJvSgPtjWNNB9877Bsqg3Vb0/va17wSb3UMGAKxi5dIOqCfqOwUIdOTh0Ct0O9L2UtROleggrPIpSdqOxlDZCskd+W2Y2GS6VMRLJFKea2qvUyHCDE1fmSz+I/gU17HM3x2++49Y9u6xY0ehECv1Crbfz8DGer/eZm2OuivKvgfkoHYM147YR+9zM8cBTfxWTuUnGTLFZ9o2f5T8pGI8/RJuDNVV74PjnSycRU4ck+YqxmlpHhOy6YATTo45yRDBfvjTSGEVJUwgSwtp+hW1tfDDfhN/RPcaeFWMYpvDUGqmgu77z6GtRMLn/8hOxHR/BBsHmvvFBz0c3J6fjxK2jwMPiSiVMfmXh2RQT05c2MO7kP+Ztx3bRm+lrapksim70np2gGkmxEHbwRAJxDbobxIzc6KIq+Trhl4nD5i7Un74IubXNroG6fJhMlHlSFz9cAGcab4c9Sbb06DryIOjYvZW3HMoUVU4QdEmuXHfdDb8bl+NK4mbLtuR2JgbBxbEbLSfDwDMwjKSJmR+oBnON6d/MHEhM0RopeJlGEux1mo87AJwrWhWmHKRfefT0lyxJep6 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:(39850400004)(136003)(396003)(376002)(346002)(366004)(316002)(66476007)(8676002)(186003)(4744005)(7696005)(52116002)(66946007)(26005)(4326008)(66556008)(2906002)(54906003)(107886003)(6486002)(2616005)(478600001)(1076003)(36756003)(5660300002)(956004)(8936002)(86362001)(38100700002)(38350700002)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?03S/bMT58IAgldWajRMOe5sWF?= =?utf-8?q?uxMq8RvCe4G1IA9/xWt29J9ZYvmkNEpPdwG3quzZLIdk1eWY4OZKPn/8?= =?utf-8?q?K+jJHICNU3GW7Bg1EpaJ7fzkKAdo0Wflabsr5Lvp+B2SrMtDmpQeA+0a?= =?utf-8?q?GyZ0ANM6bpHurjYfeVsyDQ5lE3h2n5smYF/YldbTrErTTHCxPVFIouB2?= =?utf-8?q?/H9Zi+GJPwpH1fcIutG/FN+72Exkb6CBROzSwlUfzmiaJAM2KgFXEeMF?= =?utf-8?q?RYFaq/Mv9mLUguGvh+lzLFmYfwUDjJZyKUYZ/3abILnoqLJvVFl3KeUO?= =?utf-8?q?A1cHfgnsiFr/iWyQJamnJWVTOt6GRJdQ12sPf178A1+maTQ+GKGjlnwh?= =?utf-8?q?hLwGngnekae9/XjhXGRI2yMwy56A4vEcHDGIvONi4/7b+5RqWFqXQ12p?= =?utf-8?q?S/FB0AUiThv2c/ffr/C8lM2OF49reNh/chyNoCMd/v5UBYAnZqDb0Igb?= =?utf-8?q?e0eDz8NL0k8RcTWrXY/fUqR/qxuLdr8ht9dZTdF1ZbowW9FFnOOIQVTg?= =?utf-8?q?UTSaZEAKH1MA6GS2HGZaUxftumSIZLZgdr4h02X5sIts7fHMUFWT7b9u?= =?utf-8?q?QiMKDkN3me1yrJFP9mxNqwZmqXl/gQ4nYCt9twFeSVYTItZuJkgaaOMy?= =?utf-8?q?2Sanv3jeT7aX8ifaOOd+mqzzEnblKK5gOmkq3Yrzyr6bkitpLYghYiBs?= =?utf-8?q?T5iwzDlLhFtmc946jSYnWWzAPct47sTXI1oGzmeUAsoE2lB8h++hNEQc?= =?utf-8?q?jZPrm837afJeCQQOtuzDRO4+TjhVKPLjITsf0PTeIcQmyMkgiFUzE18H?= =?utf-8?q?Bzbgy+jeDgGUVzIUno3I0v3+W8Jpj2RoumhbFCRv/gQEo3ZDtsae0jNP?= =?utf-8?q?3g0DJRtEx8bm9tSGURRpX3M7HdyNFVbwpCsgFUQbe6D+PEdvhZWiNDNw?= =?utf-8?q?oPS5spi2NvLyNdJgTTPYFnoemtRFCyZhHSH63nq1/ssoWU89y7nPLKYL?= =?utf-8?q?Tsg9iLvE9kEVqeo5FJd0yVCTNdsmGh0yUfqdQkE7MRbKiGNGh7bI1oeS?= =?utf-8?q?CRLdUlBtp67/anwGyW+vW0k6bkxnNpjpeiFTi/UiSg/LOE/q4SJOfXKt?= =?utf-8?q?ZgLuSXStcN0K5NT3GRwTB1vnWyi0yxiD4TV1E1OorFrxDBL/sid96LFN?= =?utf-8?q?v2K9YDA5JX8AXxo1xm8iBktze7VmoPtWhaAoFxLNwFNKQYD6qkkIlKfT?= =?utf-8?q?t5Zoi95WRldcwZAc71llGaPowhrDbHMBUYsXBlM291AKGRLTh+uMhUNu?= =?utf-8?q?BSRqP54UtmqocdbxrHYLG41WTBZiPLHyqe2PBdeERhSaOWfDuI4Lwy1k?= =?utf-8?q?Z4ZQXVwS16h2vbxF/3uDRPTnUeo8Hhl?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd254e6a-f94a-43c5-e31a-08d976b6cdff X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2021 13:02:56.5278 (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: pOgjbnvutghzH9BQTAKn85Ph1iadGkSO2bsPxBrp7nRhCyZlbOli4Ya9gVTIt1a8w4QHjh2cOszpVKotzhQhYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3502 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@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