Message ID | 20200115121041.10863-61-Jerome.Pouiller@silabs.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Johannes Berg |
Headers | show
Return-Path: <SRS0=LItA=3E=vger.kernel.org=linux-wireless-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 55ED5138D for <patchwork-linux-wireless@patchwork.kernel.org>; Wed, 15 Jan 2020 12:14:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A83A22522 for <patchwork-linux-wireless@patchwork.kernel.org>; Wed, 15 Jan 2020 12:14:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="G9mD9jgS" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732223AbgAOMOR (ORCPT <rfc822;patchwork-linux-wireless@patchwork.kernel.org>); Wed, 15 Jan 2020 07:14:17 -0500 Received: from mail-bn7nam10on2041.outbound.protection.outlook.com ([40.107.92.41]:26034 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732137AbgAOMOP (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Wed, 15 Jan 2020 07:14:15 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N5exO7vYm2/zjjKRDMMti+bgaSS8fMGzGjYMv3fTAo6Yt7iZwDpIt+Czx+LYHBWHLNk8D+li2OLxtylMoOaEvhUAJXrfRRue4TSgQX12NB8x8BFiLBuBwjan6Xt7qqwc/ejToeGR14YwGWIZdN+/jP8akMW2pgYdvTL4xB7MluudfNftJoo33e8+fr6wtRbpq/qUmyq8hWL29cxhHkyiM8UzEX7qb0LxURBtDLyt9zTlZgOl1aUlOe9ONAl4XBziEjvS0N3lT072cfRl1xXnY/7AVj2WDM3XqLv5+yjno7eIuLS3iWRCwuS1rqijFIrOcz3fq/kniPGwv3/F9RaHBA== 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:X-MS-Exchange-SenderADCheck; bh=luKP9pYxXrpl3mvhVrHrZpccjgG6OVYJbBR4szwSZPY=; b=Q9W63Og/3G0SyCZOAPEEPUdV9ZJbst2G+RxxZ0kxgxPgWEOTVmcRL9YLp5NpFksJVg7KQFyCRQ5em75z4Dk3CgOCpSx9Q8J1l3eEK1gHwbdfUt6x0uzLS1A0x4wzOyT3uDSZWILx1IiOennmkQEC0sNdbXd68KizD2KWaTu/NzWhCB3DkNzYqOI9RMpQb8Gzxd9QinfYwTaUEGWiOblxVEEPUvy/phl5VKnFeIXTHOLS/mAQcX2sYfOudRXWcH/gwoOBbK7J/21qBwgzpOfAwUA7LWxttQUj9yx5mKHCS3BRSv6xKA9xXvU7OyPPAtgjxYDT8mUBAY5I+dh6U13Fmw== 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=luKP9pYxXrpl3mvhVrHrZpccjgG6OVYJbBR4szwSZPY=; b=G9mD9jgSHLFgtdB8AERT6quvBvnjKMNdNhcKrQaTMtGIZ3HdQzq6Lr42Bf6vYvOulhEmykONdqSyNdfkWF9+0XMbLrS/FrTbMbjZnSROi9z5oRW3NRp8V1kmvAaikH6O7S51XcD8MoWvbkxh96OSDfruaUCvrWUTDMUgWgmkAPc= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (10.255.180.22) by MN2PR11MB3934.namprd11.prod.outlook.com (10.255.180.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.20; Wed, 15 Jan 2020 12:14:08 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::f46c:e5b4:2a85:f0bf]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::f46c:e5b4:2a85:f0bf%4]) with mapi id 15.20.2623.018; Wed, 15 Jan 2020 12:14:08 +0000 Received: from pc-42.silabs.com (37.71.187.125) by PR2PR09CA0009.eurprd09.prod.outlook.com (2603:10a6:101:16::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.18 via Frontend Transport; Wed, 15 Jan 2020 12:13:28 +0000 From: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <Jerome.Pouiller@silabs.com> To: "devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>, "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org> CC: "netdev@vger.kernel.org" <netdev@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Kalle Valo <kvalo@codeaurora.org>, "David S . Miller" <davem@davemloft.net>, =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= <Jerome.Pouiller@silabs.com> Subject: [PATCH 60/65] staging: wfx: remove unused do_probe Thread-Topic: [PATCH 60/65] staging: wfx: remove unused do_probe Thread-Index: AQHVy50yZCDG14x/QEqvO443wPtmqA== Date: Wed, 15 Jan 2020 12:13:29 +0000 Message-ID: <20200115121041.10863-61-Jerome.Pouiller@silabs.com> References: <20200115121041.10863-1-Jerome.Pouiller@silabs.com> In-Reply-To: <20200115121041.10863-1-Jerome.Pouiller@silabs.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: PR2PR09CA0009.eurprd09.prod.outlook.com (2603:10a6:101:16::21) To MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jerome.Pouiller@silabs.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.25.0 x-originating-ip: [37.71.187.125] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 52bed07b-b07f-4dba-1384-08d799b454b7 x-ms-traffictypediagnostic: MN2PR11MB3934: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: <MN2PR11MB393493F3BBFA1A6AD70CE10793370@MN2PR11MB3934.namprd11.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:457; x-forefront-prvs: 02830F0362 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39850400004)(396003)(136003)(376002)(366004)(346002)(199004)(189003)(54906003)(110136005)(86362001)(956004)(107886003)(2616005)(316002)(36756003)(71200400001)(52116002)(7696005)(478600001)(8936002)(81156014)(8676002)(4326008)(81166006)(6486002)(2906002)(26005)(66946007)(16526019)(186003)(5660300002)(66574012)(1076003)(66556008)(64756008)(66446008)(4744005)(85182001)(66476007)(85202003);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR11MB3934;H:MN2PR11MB4063.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: silabs.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tIPToy6PUNN5DL0B0xUzYZGG5ofgGVBXVjc7DxZGKl+fPW2GGMc25pH7aaF4h0pYp4pPWUn1OR1BmzANuPGBq2mACYqU4b5O+mH2Bpws/QXwkqE7etEoh4MrNpq+AOuxgXbRWz3eris0DoU3CiZWeeNcVZLS7RyLBx4HU1c6I49Ku3c2iaqigayMnaB8M3XBi0I/Gsq7eVRpXEq99SMVlTvgU7tK2k/lKAVbsrDDPqlEw0tAIrCllNhZ936mDktgKXBiArsjjz2s7F7SqNvNs2S2pK006nF3xqsG8Pqwl1dz/fmwbSlrhCkz+dfttrmX6LOA6MUhLzg/d5FRS/f6uonq5BZDP3gEULS62LQw//D9GDvO3qoTWP/xTMFDu1F6hjX3VMKVBab3bHAH2H0fipEPkDDWTYSBkEXW7kiaHrsSk71LmT55E+xh3nE2ALUe Content-Type: text/plain; charset="utf-8" Content-ID: <EF4F855590152B4FA290A1BECD4A38A5@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52bed07b-b07f-4dba-1384-08d799b454b7 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jan 2020 12:13:29.3859 (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: tZH5YHYabW5lW0J4Ju6M901ciwnsTGSbz+aHD596/EohdbqE1TIz6WObVigJ7iXztDg2kM9wXI4gQKGKitSiyw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3934 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
Simplify and improve the wfx driver
|
expand
|
diff --git a/drivers/staging/wfx/queue.c b/drivers/staging/wfx/queue.c index ec11a63a2ff9..c87d64fbb88f 100644 --- a/drivers/staging/wfx/queue.c +++ b/drivers/staging/wfx/queue.c @@ -365,7 +365,6 @@ static bool hif_handle_tx_data(struct wfx_vif *wvif, struct sk_buff *skb, struct ieee80211_hdr *frame = (struct ieee80211_hdr *) (req->frame + req->data_flags.fc_offset); enum { - do_probe, do_drop, do_wep, do_tx,