Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp199198ybe; Tue, 3 Sep 2019 20:50:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvcr+bdp+OoBYXcNa3MYbUw2BMZXkdtACyYYEgQ2WP0pt065VhJmxVr4rEKVp/SbYMchfl X-Received: by 2002:a17:902:5e1:: with SMTP id f88mr9260306plf.1.1567569047773; Tue, 03 Sep 2019 20:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567569047; cv=none; d=google.com; s=arc-20160816; b=AiMQGxEcIWI2uHYHyJv7RAOf6TghyZ1IVFZoqIOByVdAVja8spC5/Np72eaL7swHDj DtcQcxrCgQf8ulTleZzEjGqpfGy5wKf2A2E3sZYDeN6OWz2AZWC10cI7yjAFXCwE4zJO I3Y6AjWzTUACH6p6alZe/JwxujKAadGOLuYjLWeSlHSYWRGCClJo4PlYqnj0pdMbsTiK FEtkO/2Fpy0wGwf/zjFwh4LEMALmv1ZOPHGb0tI0ZrHYmsW1OeeZ1yHwT4yXLo/SrZTL 9F6SIUO3yJVIMjqlR5ColhIXhuoflrhP2lfLhLLIm9RNWvn006KMewAmmLdWTKTor+lX JHzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=c3/8rKJwg8CFe8lXAnK6U/LidJp+RPE0eKYqFVw7qFM=; b=BnR1+vUCVYLFRaFou4QIW8nxyX3LKTdeRDpJ0Kivyi6R3VufSLSG9C9/Z+cZD4Jl6q 4NYiHRBOd34e16ZX2k9I+ixGcM2m/xSdGAXhRC0LQqq08DSEuexjl1YZEieUccGcWRNi no0opb8BWtb7TPgxJALAxj/E+7PxDzR36pwKvnSW5adeue6n4BaDCYL5RuBmanl2aDh2 BMoZhlt37xBQzHWhMEYHpUkfNdjSuDVKHcX87M4Jb/WmEWB9t8iutNIzVNrIkLHhfUER 7plwbiH98CblT0scLpjVQURXnDXHI10qE++pBNz67KAjMuMrIwe4d85L6M1VW0hx9lbS CPtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 134si17963301pfa.245.2019.09.03.20.50.32; Tue, 03 Sep 2019 20:50:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728207AbfIDDtd (ORCPT + 99 others); Tue, 3 Sep 2019 23:49:33 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:55796 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726770AbfIDDtb (ORCPT ); Tue, 3 Sep 2019 23:49:31 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 3D56E88059C5BEA2F350; Wed, 4 Sep 2019 11:49:30 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.439.0; Wed, 4 Sep 2019 11:49:21 +0800 From: zhong jiang To: , , CC: , , Subject: [PATCH 3/3] ath10k: Drop unnecessary continue in ath10k_mac_update_vif_chan Date: Wed, 4 Sep 2019 11:46:24 +0800 Message-ID: <1567568784-9669-4-git-send-email-zhongjiang@huawei.com> X-Mailer: git-send-email 1.7.12.4 In-Reply-To: <1567568784-9669-1-git-send-email-zhongjiang@huawei.com> References: <1567568784-9669-1-git-send-email-zhongjiang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Continue is not needed at the bottom of a loop. Hence just remove it. Signed-off-by: zhong jiang --- drivers/net/wireless/ath/ath10k/mac.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 12dad65..91e4635 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -7804,11 +7804,9 @@ static int ath10k_ampdu_action(struct ieee80211_hw *hw, continue; ret = ath10k_wmi_vdev_down(ar, arvif->vdev_id); - if (ret) { + if (ret) ath10k_warn(ar, "failed to down vdev %d: %d\n", arvif->vdev_id, ret); - continue; - } } /* All relevant vdevs are downed and associated channel resources -- 1.7.12.4