Message ID | 20230705114934.16523-1-duminjie@vivo.com (mailing list archive) |
---|---|
State | New |
Delegated to: | Miri Korenblit |
Headers | show
Return-Path: <linux-wireless-owner@vger.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 89D44C001DD for <linux-wireless@archiver.kernel.org>; Wed, 5 Jul 2023 11:49:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231703AbjGELtx (ORCPT <rfc822;linux-wireless@archiver.kernel.org>); Wed, 5 Jul 2023 07:49:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230521AbjGELtv (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Wed, 5 Jul 2023 07:49:51 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2133.outbound.protection.outlook.com [40.107.215.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C273CE6E; Wed, 5 Jul 2023 04:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kwtEzIe+sE0kwlWkKxPfU+vIm0D/voTtkQbWBoUa72QmN4rygzh8qFr3wQxM3maI6eh+SGBjq+0DXwKa5ej7wMzGp8xE5vxHj2YtxWVaD1PtBLkaJ+0brYHrM2TxtBMZ92YhjklLcwSL4/U7s7MwfYh0XMzg+SikFo2npHhgdecRpwxMZuUGtqeYqBwySLLbYSpy6BpDqTQkcjLzlBQQEGBsjp23/jlIjccdhmYcsVMrcZTQ4EbL0cyBMYML1tIY9j5tdgAL9M8IR2Ag20lO5QpckKMB4BwxAA09pUZq7FNlaEEIlnqgQPuKdKYK0rOuimzLEPTUcIVuKNf5jHXIQA== 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=tHtOPpeP9wbxVI/F+1cMeaMiMg7zyY5JnI0XNF2i/DI=; b=ARyGlH38aHwA2NK6uOT7aFsMk9hpMEMd50blkAd/EJ8UO/T7mql17Hv0gpTQpgBl7mfuzYfclnLVksEut8tafdRWkEFv3FwiMGgE7ooYK0TEC9AHIfzzTezXxB/Flrxtb7mx3KAj/7lt+g6fSF72+qU8RNNCOHmAZC1ZQBLVw8O+5R/jwHl/9ZWslBvStQRJWI3Foi9S3WIEzVqePQy/AUTMjNecX1qarnxOZEy2coKYVxKMiaaHhf/2bYXgIyaJGcUugudVNQe9MMtogrU2Nushx05g/cyYoMPkk/EnScfE0BjyYytrGQBAQzO1NzIFgt6xoMWdrDiJblzXJgFUOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tHtOPpeP9wbxVI/F+1cMeaMiMg7zyY5JnI0XNF2i/DI=; b=JLVAbe6Hfq7ePzSnYu9K8slIXwoN/kYUzgw9lD6aokPtiSCI9aWWddcJeaBhgDlJQvVA0MD+CNLqxa430YyZEzesybQzwjc3z0ylYp/ZfZvLiiPbN6hl2lM9Uh5nlbJQ6kfxN1/ZJzqiMcxUoG1rNgrJJVWiLNB9tpjsO2U+a5cptp+B06jqgBiZAc/BwNce7TYDBA49vl2DqQJVzc9wwU6r4JaM7CzWX+JIj3vixPV3sgozB7aOgNNsOAhNROAAPi04Y/YGRtMvfZKBfUPl+QapZ/98jdYca1zdFHhXjVsT+IpGxEYoNNRLLCdpSUn3fNmD7P4PLsIi+EGpMI1owQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SG2PR06MB5288.apcprd06.prod.outlook.com (2603:1096:4:1dc::9) by SI2PR06MB4139.apcprd06.prod.outlook.com (2603:1096:4:fb::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.19; Wed, 5 Jul 2023 11:49:43 +0000 Received: from SG2PR06MB5288.apcprd06.prod.outlook.com ([fe80::c2b:41ab:3b14:f920]) by SG2PR06MB5288.apcprd06.prod.outlook.com ([fe80::c2b:41ab:3b14:f920%7]) with mapi id 15.20.6565.016; Wed, 5 Jul 2023 11:49:43 +0000 From: Minjie Du <duminjie@vivo.com> To: Markus.Elfring@web.de, Gregory Greenman <gregory.greenman@intel.com>, Kalle Valo <kvalo@kernel.org>, Stephen Rothwell <sfr@canb.auug.org.au>, Minjie Du <duminjie@vivo.com>, linux-wireless@vger.kernel.org (open list:INTEL WIRELESS WIFI LINK (iwlwifi)), linux-kernel@vger.kernel.org (open list) Cc: opensource.kernel@vivo.com Subject: [PATCH v2] wifi: iwlwifi: Remove a duplicate assignment in iwl_dbgfs_amsdu_len_write() Date: Wed, 5 Jul 2023 19:49:34 +0800 Message-Id: <20230705114934.16523-1-duminjie@vivo.com> X-Mailer: git-send-email 2.39.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: TY2PR04CA0010.apcprd04.prod.outlook.com (2603:1096:404:f6::22) To SG2PR06MB5288.apcprd06.prod.outlook.com (2603:1096:4:1dc::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PR06MB5288:EE_|SI2PR06MB4139:EE_ X-MS-Office365-Filtering-Correlation-Id: 48ba11cc-e259-478d-77a2-08db7d4dec6f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wUTZ38OsWk9DX63shZtTVSFENairG9ZFWNYuFlAMqLyNt9n9076CZCqiVNQe1Y7Jb7TX/8fNDlfBU/SBu+ZQNKPxeTFbNzN3wvsoCtt4T6i34qpSK0Q0Cs0o1PMl+eWZ8RRlmMTyp7xVlXTJ1BCpz3a+gOSucG5lQ57VXNDPs1N1YG+QWnvLk1JH6QmbjwcrQzgXayaQPfSWyysaOIPqeCRH48AZbWxNIW1BUWBnYaOCJs9a8j32evaUt/m+I3XctSoQJ0Qq5hElJN9TN0VLxik0+FhPN5oQJAFf/5ndLOeJ9HxWYP8ybL78jp6WHvcxPO8jN9o7vmzsRz4gpODXkGG7Zkcf3GMsH4O3hbFv7KAEIXG4UTDEydTMrloZdC6VUq+ZklcrYuHe1h2xA8Eu8SUw5h7MMDx58xtQZC+azsP314E2t0FOXbqUoZRNLjInxzYFBarRtI0TN5TryHBSnvIHAJJex7mBLTyLB9xmbKbHtukU49TD+9AGQQOvJpfR+/9DIf2oX+BafciMINWnBuNGTwmgbXHRTLgQyyDohlqT7k/RxQvti4ONp2VBJPI8OGIhhZsKmw13MXldpwLFHFloUJ7OYb6hy400eB/EMbwEd8h6W6xXX/zDgzQ/LAxp X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SG2PR06MB5288.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(136003)(39860400002)(346002)(366004)(396003)(451199021)(107886003)(86362001)(8676002)(5660300002)(110136005)(8936002)(26005)(6506007)(1076003)(52116002)(478600001)(186003)(6486002)(6512007)(66476007)(6666004)(66946007)(316002)(4326008)(66556008)(41300700001)(2616005)(4744005)(2906002)(83380400001)(36756003)(38350700002)(38100700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-Chun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SvQ1fi+jua9i80rLc/QLmbr3mrI4ijinPiHiMwIJUvdHDh6jK+J1NHoHwjgQnBleLSh33FnnJu/TZMbLnNR4CJeLuogwYFCODWSGLmEhAKijoVYisxMLJ5hCTpVAMvRfzStXiuTme/oC8UVHGK5k3lGHaOWNW4ToRxG9xQFwMmx/uzoqXGpByPAHWjh9LL1idID6GfERli2xXvhplyhRn6DfaO2HOXhB1njz8Wy//wd6dZ9Or/AqQxhRvJCVmP6DX/F/PInNAIVkl9z+wvf5TZz3pvuvI7vbwgsMkjEWjUkkHGD4oqq2eMl1I39tJiUBbIsXD8yQ0+RTTUTtTdNxH8mQCs1QfJT5PSU1VJJyLC50rsCwChusJ3bODWhW6hHcBlh3FrSEPrfQHwnwJ7kFkdjHpa+uV1mkam44tKZp5k34O1tdEk3Fo7yzBzhVFJtkuNeepB6IlZeg0mvicES2K1Bc9SpD2VePl3luKsIRzHQ4zW/YgvTZtEfjH0cct+gseXK90YjGo/eoRnyQskKQzsVjwK8GHdBqVlpBz98DJum+nlRjIBuoUeljh X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 48ba11cc-e259-478d-77a2-08db7d4dec6f X-MS-Exchange-CrossTenant-AuthSource: SG2PR06MB5288.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2023 11:49:43.7640 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2pubLkWZV5qxziOnL4Mf5c4Am4+c6IY9dERhIrSbFSZVf8svabo7HGI0e1oz+Ue9tsROjyd07/KD9OCThrcnag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB4139 Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
[v2] wifi: iwlwifi: Remove a duplicate assignment in iwl_dbgfs_amsdu_len_write()
|
expand
|
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c index cf27f106d..7f48457a9 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c @@ -455,7 +455,6 @@ static ssize_t iwl_dbgfs_amsdu_len_write(struct ieee80211_link_sta *link_sta, if (amsdu_len) { mvm_link_sta->orig_amsdu_len = link_sta->agg.max_amsdu_len; link_sta->agg.max_amsdu_len = amsdu_len; - link_sta->agg.max_amsdu_len = amsdu_len; for (i = 0; i < ARRAY_SIZE(link_sta->agg.max_tid_amsdu_len); i++) link_sta->agg.max_tid_amsdu_len[i] = amsdu_len; } else {
Delete a duplicate statement from this function implementation. Signed-off-by: Minjie Du <duminjie@vivo.com> --- drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 1 - 1 file changed, 1 deletion(-)