Message ID | 20220225112405.355599-6-Jerome.Pouiller@silabs.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Johannes Berg |
Headers | show
Return-Path: <linux-wireless-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1E84C433F5 for <linux-wireless@archiver.kernel.org>; Fri, 25 Feb 2022 11:25:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240180AbiBYLZy (ORCPT <rfc822;linux-wireless@archiver.kernel.org>); Fri, 25 Feb 2022 06:25:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240133AbiBYLZu (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Fri, 25 Feb 2022 06:25:50 -0500 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2056.outbound.protection.outlook.com [40.107.100.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F6941DBABF; Fri, 25 Feb 2022 03:25:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jRTnrrcSeNt5FM6FFBn4Lg82qHMGgi6QliKgMEItQm9uUkW7eTyJ7lvsx252k6sqP9ssl8ARODbJCfgJN4sYz2yjbneRDoShoDSuZAx1NahI0RT9yB0JpNIAn5VggAzkbmX0IHpwuIf75r7bdp1bVyfiebqG+Fgq3q72ExBXUz+35dA7KxG57f1rql8d8R5ycTECrkqlnq0nB5k2PSBCugk3f8G00cKQHLnC6FMVEkOSwAnKFrfiLVvwDQguiyunuWlneC39Dls5BlFIA1iBEEQRluGIN316TuUyQr69ksxk8Qfd5cAJNCkJx/8SHHy4RroCLx83Ftj8PhchkJN8Wg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IpPXMkuokgI2KorYtPu/iTSAZ4jYtlCWIdBT4Wkdngg=; b=haXmBqont2YqY+cdJnzJO1cOUtJe6ktuvuhN7E+0wyEqMrpQiVus7XqT+jG4hdfSgrub//JPWxBt4ZVcSAY+4HT/NLge/VG+q5u5btXN+9Zgrn2C6iLRWkn7JKVKeBSgjcbS2V/zw8kfJwmWss8AZi/p1Uc7iXpL43mMzq0KcHkAQX6rWVDFHM1w4Y2jiwyWN9TIDtJpP0zRf/2fn/4T7czI5LEJBUj/YWI7cRwRzBfYiGBBJQ8fasNAsB2SKqWAMZ7OTxYZPWKf7FlLBCIz93q5PoyE+O5EsOE0zmEL0US4x5iEcDHbv4m03mObDXNqn3rZMafyf4ZcctSKmcdVQQ== 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=IpPXMkuokgI2KorYtPu/iTSAZ4jYtlCWIdBT4Wkdngg=; b=Ax4PwFrBBx0PZmqPEVl6s0JDluD/aA0yXkyxJBrCnaXibF3j+V5G4JKEDeZcStim6jBvYBDQIM2tCq77tmZb0BCD+UuYGen1P1NOdosx2yW9PjQhsvySK4BE6tS6jJLGDrnQp6LieHXv2oqorbXpmvUqyVZStonSlrPg1OXNYb8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=silabs.com; Received: from PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) by DM6PR11MB4362.namprd11.prod.outlook.com (2603:10b6:5:1dd::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.22; Fri, 25 Feb 2022 11:24:44 +0000 Received: from PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::dd2e:8a4e:fc77:1e66]) by PH0PR11MB5657.namprd11.prod.outlook.com ([fe80::dd2e:8a4e:fc77:1e66%5]) with mapi id 15.20.5017.023; Fri, 25 Feb 2022 11:24:44 +0000 From: Jerome Pouiller <Jerome.Pouiller@silabs.com> To: linux-wireless@vger.kernel.org, Kalle Valo <kvalo@kernel.org> Cc: devel@driverdev.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, =?utf-8?b?SsOpcsO0bWUgUG91?= =?utf-8?b?aWxsZXI=?= <jerome.pouiller@silabs.com> Subject: [PATCH 05/10] staging: wfx: remove useless variable Date: Fri, 25 Feb 2022 12:24:00 +0100 Message-Id: <20220225112405.355599-6-Jerome.Pouiller@silabs.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220225112405.355599-1-Jerome.Pouiller@silabs.com> References: <20220225112405.355599-1-Jerome.Pouiller@silabs.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-ClientProxiedBy: PR3P189CA0052.EURP189.PROD.OUTLOOK.COM (2603:10a6:102:53::27) To PH0PR11MB5657.namprd11.prod.outlook.com (2603:10b6:510:ee::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dd10e88c-e59a-412c-96de-08d9f8516c2b X-MS-TrafficTypeDiagnostic: DM6PR11MB4362:EE_ X-Microsoft-Antispam-PRVS: <DM6PR11MB4362B1F7B1E6868BC1D0CBF8933E9@DM6PR11MB4362.namprd11.prod.outlook.com> X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uhJCkmG2WAZXip4qdoljjfXR9oQUc+LXApBWG2yhDS5XFNuIiaclsTmEf3L+zvH7UzCgsSdEDExyrFB4Dz1upXgrlJfzLsvgOcskjB6uqw0mqaFCp07w5YOEgCVpjzKsSEGYgWhmxl9jNxSW/l7R5Aos7F6B7arql60ohIGmBSwpu8m67wwyo+7+x8XKg4f5gQbWExIIWdoFHOZbHSLdTfc8TJYcSApmblI1cGGQRqVybNFtvahVPaJQ+umFR7T3KdQ7qXsm9MgZWFOzIKSNK/JvaxREYMZrflT8riJQA6e0vabWSKdlEsD2/DULqvxNjXXxSI9ESzKugGLWODvMtjy7sTBs1A6NWp5OOuOnZ6HbNOC8WLGa4co729BCi7nYUMFsl5WdOx8LKyRc38VCwtvK/vFnlDKnqd4R7SAFkCgVJJODLkSRPNRiwvpmrGsj48vxg/KoOuXuYw+QY6qF6UHEMfEombaCk1Qu7Stehg3xlj+Q3KF8DeoEZmEnouebn4lNBbGNK0VJJfxykD2kGj20X+elm5awRGcutw2M2RzWpzKVhd0og1k+sJrjFme/jpFsgIjGkiNB2RQHgP7fwCM69RaH9dMSZ4aBHILSuVPz3HJKpC5B80LLTw52f3FUAdFqXtPbU/ZARKa60HViTjNjZ//pMH/JMOO0b+k6zCZ77b+g7jRJRbJlfeYDiXEwookQb5JPgJfHvfA1beTyMZUrg0dw1vw369DRBQUREwZt1EqMMYgy/VjGF1XEML7M X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5657.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(6512007)(6506007)(1076003)(66946007)(52116002)(8676002)(2616005)(26005)(66476007)(5660300002)(66556008)(508600001)(2906002)(83380400001)(54906003)(38100700002)(4326008)(86362001)(6486002)(8936002)(4744005)(186003)(6666004)(107886003)(36756003)(316002)(38350700002)(6916009);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ZmCKyMH7L7wfUcIe6kjjUjhcpizT?= =?utf-8?q?A4qRagqhWoKCU/LWXb5S119zardRjpS9/2Gru8oxp1tyF7yILakelF6wac7E2eNF/?= =?utf-8?q?Xe+xMqOZa/d9KSsJPaI3kKQ4PCFcSvemo/KM4/GI1ERf7cLlnp5wF+n5hqBqyFUo3?= =?utf-8?q?T+8dURnMCQdlkYbSv5GTPcYNElAH586WFVA/5GUOCEVARDheP65LpAFGreriwOeUU?= =?utf-8?q?Zfv3jZ1VWa492zGbS7Ce4KVLB02ZdsWbeViO7egwM6swgFkAv26M6hb8+DtGFh264?= =?utf-8?q?X0hiRtdPUnWp1etmUQGgSbOZdV2hJpaHHERatv4WQMrp6iZIXyeMRnTQAnGDguIDY?= =?utf-8?q?EYsWRjA4xBlSxSnbCHas7U2HS1yXh0NiPyhzGlv69VM7xW/6LfCkKa5l+XYrItfDb?= =?utf-8?q?6F8P+D+0d0Hrz7Er3AjnQ+4MGiYZkloEdrGJ5MQ7wBV5LcJG4AAVRAYRXx/RhqPsf?= =?utf-8?q?3jA6UL/KfVZkvM3uq4LBQDJ8+c+oWKO3hEPXdS5iHCofnurpmyIGcq5Vb0yt6Rtla?= =?utf-8?q?Jls9myFOw8e+bcMbhytKrNVuj7mLmF8ELkF+yrN4yiJDh5ENQ4SmGOExOGFo1HkYX?= =?utf-8?q?NakyziJ6bVgtaL3Axd5WOTEhL0e0QAnNy/mkyT5abM4/AafVbB9MwezyS7pj0lYog?= =?utf-8?q?bwLdxuqBsc/X+NHUpr5POJ4BdlWoBdq23V6apFM4MIKfmj60LM9c2TfORrYeCIO5o?= =?utf-8?q?5f9nT2HkWUuwWC4KeGU/1l9n24rGdMtcuJZlUsqohXtT5J3/FJYvt3Bg9m3QG3/AV?= =?utf-8?q?clgUrenzNe2ouUXr71UQaoO4mezFafhwgY6Gb46wiHSbKux89OkVY6QU2CvMpmPsP?= =?utf-8?q?wQ//iEv+6ZvMLk5zNc7kCP/rrPGDj3FtZuC8ixiQp+11lBz8O7oxkRSVdwNlLqlgt?= =?utf-8?q?ourtRYjJeQDZuPIkPtwNC4FQuaXavwJbBMelZuBqDqjZuSMF8AFfoa6z98lEVBzZL?= =?utf-8?q?09vR5oY11iOHFPBIupSYfgFFbt/xuitqgnggmPSOHoXbVnJ5XllQoVEFYA3uXtVV/?= =?utf-8?q?NJilXC14nPmpCZ05EzgDhUzfcdwsJ/8KL8MJTBVJic/vDh/B1dTRp+KBPPu+47XKy?= =?utf-8?q?mJUYrrhEcqgKUwDDXUWZSvzzyxLBlvsXq9RhHtk9GXoTgt4zQ6MWXy2b78UianJse?= =?utf-8?q?OfBjb9PGS2dTHGBGmDj3PzXMzXiyTozMwZx6MlZ9SnMeL1LT1LaWL9jo3YPwnhQwR?= =?utf-8?q?fzM0MsKf8hsYqL3I/1fEZcYs8rtUPH5jgP7mGiqonIk7GpaXhKotLCwYEssROR2wI?= =?utf-8?q?Ae7cl9jtlClCPdWyCUcF2FFnIHGq+nxOuoAYKVwr5dNRbru6HKu8uXTdXcFSJO1G3?= =?utf-8?q?rF3r2IO2Gk5IiqU5SPZdqZ9liPNtxw1hViCCHS2Eeqa0gCzFYhDANRZscmyB7PVJl?= =?utf-8?q?DcNnPWAItjVeOftLNY0HKva5Fi78HuKWmEGyZrI0/SsGfeId1vvLnYwmz18v6rGUY?= =?utf-8?q?et6kCTNm/Ly8fTr8eC17z+PzJj6ILD3hc+y9gsJYYiOfq5tib0QewhEGw307afMgm?= =?utf-8?q?wItiBbicfB7a7+aBicy8oM6KHpW8/6giONYAVIFxoKGrIe5KOQcWZqc=3D?= X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd10e88c-e59a-412c-96de-08d9f8516c2b X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5657.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2022 11:24:44.3127 (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: QgvTpa1v4KQ55c390GPES//S+5Jhn8kT3wuEaH8ppEUfa8PMbYzlFmoALFKtK3yB1sZ4fWy7FNFVF+oFwCeN8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4362 Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
staging: wfx: usual maintenance
|
expand
|
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index 28474614a8e5..b1e9fb14d2b4 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -687,7 +687,7 @@ int wfx_config(struct ieee80211_hw *hw, u32 changed) int wfx_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) { - int i, ret = 0; + int i; struct wfx_dev *wdev = hw->priv; struct wfx_vif *wvif = (struct wfx_vif *)vif->drv_priv; @@ -747,7 +747,7 @@ int wfx_add_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif) else wfx_hif_set_block_ack_policy(wvif, 0x00, 0x00); } - return ret; + return 0; } void wfx_remove_interface(struct ieee80211_hw *hw, struct ieee80211_vif *vif)