From patchwork Fri Sep 10 16:04:54 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: 509082 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, 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 3C55DC433FE for ; Fri, 10 Sep 2021 16:07:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 22DDE611F2 for ; Fri, 10 Sep 2021 16:07:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233155AbhIJQJA (ORCPT ); Fri, 10 Sep 2021 12:09:00 -0400 Received: from mail-mw2nam10on2054.outbound.protection.outlook.com ([40.107.94.54]:20975 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229976AbhIJQIC (ORCPT ); Fri, 10 Sep 2021 12:08:02 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hSW9K4ZFO2+1n2Q/uQ09HkyMFR5qtGP098HD5eQhjhwFe1FnEr/Mrg9pjbtPdou7Ba5bh9eKDPxomTIwAEXKOvg/r+IQ5rpVIMYsEc8m05Wl44qcpaNytk6tWMPl53eQTsTVqdQv3O2QYX0S4h+vxQR5c+KqLS2JiZkoRjiBZxAcwaNDQxlYwxgaQ0z7bZmzTlAqbR2j/OHc1P7yaAP8etxVCrPgA7y2SUFmgwJ8DmQ5CycjZg1D9M8AXxzD5xvF5oTmG5cMlLY2Fu2bj2Y6nMO5m58HFXOECnMirY/h8OQpGLAkCWG1AolpNxsj4GbQYgXAW9jTb6JOW10vYFlRHA== 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=LDgSks/eQaLgc9PH2W5WZX9K4HTkhgE7PYNxIaQTAemgas5dhrcGesshQekvZ1Fa9XRn3WaeuzNIPwiJb2k/IOhKN4yg0tuDt+IM6/mS07Mgf1EkBxPikMcJy44tat1nj4bXqWUP2VvhkGHTWr41fD2lt7iAMagaYoxaFR65Iehy5pW8KpgEbn1qB4amq5H7a7Y2On+4hb36ySOHB2I+xQu5WPyMHnepJaiPPItNsYv1T8PEgcSOLPKhEoZQMZd+RR+bX+U3MySgm1wJUK1M7QVGHsk24vODwvOeBLoVJ46BXaxaIjoH/pKYDNFpVeNX9ee97S6Z4/1lGeGIvcpYIg== 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=WjZ/5DFoEt9XSoXJnpV8huwcgqtK/ITV7UhdMZb6jXnsf+uUgPnp5EoQDPddDnkAhY5LxThhjuIwWmNp/w15KF1iMUKsBGiePPrSZH4+3jKMZCijYpC8Tz1Jv2KrZe+FHTHTCGnFswA8Q4CwrjQimEtjNr5Yj6TZlmZL0H6ANcI= 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 SA2PR11MB5002.namprd11.prod.outlook.com (2603:10b6:806:fb::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.25; Fri, 10 Sep 2021 16:06:12 +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; Fri, 10 Sep 2021 16:06:12 +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 21/31] staging: wfx: remove unused definition Date: Fri, 10 Sep 2021 18:04:54 +0200 Message-Id: <20210910160504.1794332-22-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210910160504.1794332-1-Jerome.Pouiller@silabs.com> References: <20210910160504.1794332-1-Jerome.Pouiller@silabs.com> X-ClientProxiedBy: SN4PR0601CA0006.namprd06.prod.outlook.com (2603:10b6:803:2f::16) To SN6PR11MB2718.namprd11.prod.outlook.com (2603:10b6:805:63::18) MIME-Version: 1.0 Received: from pc-42.silabs.com (2a01:e34:ecb5:66a0:9876:e1d7:65be:d294) by SN4PR0601CA0006.namprd06.prod.outlook.com (2603:10b6:803:2f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.15 via Frontend Transport; Fri, 10 Sep 2021 16:06:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c51a0f47-e0a8-4b26-70e4-08d97474e91a X-MS-TrafficTypeDiagnostic: SA2PR11MB5002: 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: /pcpGlRDFgP5HE63fEUfYE3cjExHAvisG2f6DVJJdt4uhT9ef2N2r2+JPoX46KR3E0oyqC7jYdlqGQ8qiualZ42hyhTclx/PIz+MGRragju80hHThFTeZ6kzJRfcpTee4UeaUFy4nls2IsAwpdoR7k3UFrOxkSjwW3hvfGKcEGYGJkFMzA8sWiVCuEzGR2o8lNs1eF0HqJwnt+N3GzzbMbbH3z2ClgB5jPXsd5k2V/KE51vKt19qXeoQSHQ79EskYgPb7CSY7e3v+7avbYzTdU4zZkcje8d3l47RC3dpgit8Qs+VzTCUw2UeEIMgNzQIj7vqu/RsZN01yhofZ30Z6yO2kFiooQbslj0s7HfxceGDBTmNYyews3y7nvvkPGQUO5qPiQvzCPXdYf2EBx9a6TEOMP7tB630ZNNYvS5jkcKOkjMig1JUDm7NR63oc5uyoQOVsF6fsT+Y/sggD+Ad+8zjkXfgdgfknuBn5h7NQpELixecly+HItMmrWshAHXqUFPkjwzUEKdx8lLd0mwjnk6LprwvDguh+SBT4P9Kjxbg7huu6tk1GBXJmJtSKJqeBw8ybEprhnJEVUdLc3s+ZdSxnfdVlPqyOoGTfauDu/Xj0mshfsRPKw3gNHMLaJ6qmEmfIdX6N3WVnOec0qgGuA== 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)(6486002)(52116002)(86362001)(38100700002)(8936002)(186003)(7696005)(4326008)(508600001)(8676002)(4744005)(36756003)(2616005)(6666004)(66556008)(316002)(66476007)(83380400001)(54906003)(66946007)(2906002)(1076003)(107886003)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?UcbTsEnebssr23kGBn1MMD4wG?= =?utf-8?q?en06/zUW0tVpXZomAVUs4/YD1qP5kV4bT4FACFAv10vGBZ+ELRS8adUM?= =?utf-8?q?aOIjlTazG9TD9i945hJtFFAPe6z6F2qR19m5aT+zgMYsYkosy8mGmFD8?= =?utf-8?q?8exv4ogBFfZ0sD9pmgALMnJVXfvEwAR7Q/xkMlhXq5YBNpt7rMZhfb8p?= =?utf-8?q?PVkZTiWEZ+lcqWD7oeoeQTUwTvVgqdDNYVn34ff+qIyhV4/Vtxr6EKsz?= =?utf-8?q?auZQkwcWIv9jjkBEpW7K5fhN3ikKfjm8GDuLgh8qcaSuHecVcrMWttzb?= =?utf-8?q?r4a//d7f+Pk2K9QaDcLSjot0hYgXDb464F1sk3CWiaRyuajno6Mf+Pwm?= =?utf-8?q?mxX8H8KsZ7gWGaKao1J+RmBPELPua8Kj8xf5URaaUJVsRUcB4qW8PuHh?= =?utf-8?q?3FZthKpTLrkokgLOw7ppMDkUZWBg/9zI63+3PAOFys7vjTTOR2b5yWdF?= =?utf-8?q?5d2pFdX56uKlZBlrvQAFKns1Dl0FVmWoQoaY1MBRTHix6lT0N6OQMWEy?= =?utf-8?q?7mG0y+mmm3sfR8HLEqfhYmp5eHZ1PycReviyF2/Q499Dj8V5WHsY+sYb?= =?utf-8?q?9/2wkC9t/QRQPkMszOOSg4ldb5gOQfQSN0Xlv9SQ8oIYyraySCNAafAs?= =?utf-8?q?TQBZgYLORIRVg85RnEW9r11mfX0kmSb4yb4FH4qfmKuZLjaXOe9G5Xwi?= =?utf-8?q?PSkxNDasHG9LnXBKSPs/L8KyjxiP4WBrUgqdf022/nfU8C40ZgdM92XM?= =?utf-8?q?lPGOYuBJnwwuSyWR7hu6lCpRhTb7BbQnGgnWeF9mfIzlmUWK6lSMHJxD?= =?utf-8?q?OB2oErrrwwfMcpdSBXhkZDkuFH1Q68cx17xjHZ4Rws7k9X0t+i1su8Tk?= =?utf-8?q?7E+m5Z9H5K/nrsJxCXrZu3/yChmVEbzT4tHkfJDwViGTnPbdzBK+WN1L?= =?utf-8?q?jxDrNbGORsFmLHYaF1dDaXjUaBoF1fBUNhYLYQuAWNGGAdUNcu9uii4O?= =?utf-8?q?zfElvuJkcYPZ8bFWPnL0T3XSzou47iyKgYALhMZiNFt9msprzzphAxw+?= =?utf-8?q?i/lqhPwQZv/c2ZPY0wTMxip+VsQn4LmNai4H9onghwKX2Qu4xIJtPCZ9?= =?utf-8?q?9jBC04/sKPId4+CsGM54Bm9NWXHP4Z41g+fsRKznpN45CMFem+6bHVzh?= =?utf-8?q?mlcw0nW6mcPneVxHb+WJXhg4ZUiQsOZxgB1/wO/U9zjL/WPOXHlHVcSk?= =?utf-8?q?Vs4u/4IaFYjqe8yzzChmYwjOnYyTZO2VWaRjTW4gRLrvtcNjGpu9bLrb?= =?utf-8?q?9Z7HUxZxRoNpmrl/8mC1Pm4P+nBbSGcz5fhhxljA8v2wQAnj2xSLuRr0?= =?utf-8?q?bzf0c8okV6/mAoclkMNTMaXbL2HZbL1kmeBqpLuu6fZs/J3LS9ujAS76?= =?utf-8?q?68QYA/weEbJcqQ71l8V2E/buQig0HykdLSoLcst?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: c51a0f47-e0a8-4b26-70e4-08d97474e91a X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2021 16:06:12.7866 (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: s1gzUtAqmR9xkUTgQWerU5Bcfb2Wu0FXDsIh75mcZG0plTRbHAGOx6CL6SRZl8yU/LmzYfnprKt1W5Z6ylhhxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5002 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