Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp636389pxb; Wed, 16 Feb 2022 00:33:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJysG73FcE5YodkUZeBAT10IHadhmG/0CVJzKf6c0yohH00EkSAcAXTv1Rq57G+n/6zm66jr X-Received: by 2002:a17:902:bd86:b0:14d:8437:5113 with SMTP id q6-20020a170902bd8600b0014d84375113mr1426409pls.43.1645000412488; Wed, 16 Feb 2022 00:33:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645000412; cv=none; d=google.com; s=arc-20160816; b=X5QCyBkGBbrUD8oFMBl7QwVx0fhvjWvvIFYu8w3NzetIwot1/1Bro53MlxsCipOpC1 F1VuxIOPzIIhiPISS+OSOjbhn0mBORrzjEa1fTWedYqTazOXYnmKosq7tzSIsfF1Q7Q8 Ck6IKMLKWuxMh2hBijQUKiUFHAeap/A+UcPOfIN2RMeMKrPJ5FN3hGO84nY51VNIsPmI lVq+LMWUpsqhcSibxlwEB0w8ngb9XP5ZDlBG76OC2ua0qPR4m4Np1ewA19Xs19n0WlER QMhL4FchwHCoAkYdR6EWDzJ0taGvZzo04AKsZ24fh4aq96AcEScPeoXiGJR3r3TxBgxw Eu2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=roZLr14+Q5fW5+/42f99LDu8VB+IPJwiD2WvAIrOkpA=; b=u8R9lUaEt98G0QhEGS2cRO/yW++yuFmhzUF8wEwwA+bix4biVx22dX2zzUMwtHtd12 NTZkgSEbiCxd43y1DTH5pXWd60Bhua4gP+OymsP4oT2xRtJD7S5lIbQDJXCvg+x1QglQ xQ0B+udy6nDq3jFP/hxTSkGiIhClfl+kS0ZvI/sJtFrdCbBVPmrRc2QYxqa7WUY3fFn5 +d5XjtUluf0bDqrFQjym+TRoY+U4iynPaO/PB76Dr6GUM+H+FDDffEad71gpOMofsc2a 0z+7OLlGLs8lffSroyrBOiPk2DaQO3ZuV50mSxk9e4hBqjM4fhXC+GhIw5jz179NWZ0M WOTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n6si17640862plg.201.2022.02.16.00.33.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 00:33:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CC45D25F355; Wed, 16 Feb 2022 00:28:17 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229511AbiBPI21 (ORCPT + 99 others); Wed, 16 Feb 2022 03:28:27 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:47496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiBPI2Y (ORCPT ); Wed, 16 Feb 2022 03:28:24 -0500 X-Greylist: delayed 1080 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 16 Feb 2022 00:28:10 PST Received: from cstnet.cn (smtp21.cstnet.cn [159.226.251.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4A0022599C1; Wed, 16 Feb 2022 00:28:09 -0800 (PST) Received: from localhost.localdomain (unknown [124.16.141.241]) by APP-01 (Coremail) with SMTP id qwCowAC3_sYvrQxil5vlAA--.12501S2; Wed, 16 Feb 2022 15:52:16 +0800 (CST) From: Xu Wang To: wintera@linux.ibm.com, wenjia@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, svens@linux.ibm.com Cc: linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] s390/qeth: Remove redundant 'flush_workqueue()' calls Date: Wed, 16 Feb 2022 07:51:55 +0000 Message-Id: <20220216075155.940-1-vulab@iscas.ac.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: qwCowAC3_sYvrQxil5vlAA--.12501S2 X-Coremail-Antispam: 1UD129KBjvdXoWrKF1rKw18ZryDWrWkJr15twb_yoWfCFc_K3 yxKrWIyr4DGr9I934FyFn5ZFyF9w1jg3WS9a9agrWrJ347G34Yqw1kZr4UW3y7X3yUGFy7 ZFy7X3WqvrnrCjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb28YjsxI4VWkKwAYFVCjjxCrM7AC8VAFwI0_Gr0_Xr1l1xkIjI8I 6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM2 8CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0 cI8IcVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26F4UJVW0owA2z4x0Y4vEx4 A2jsIEc7CjxVAFwI0_Cr1j6rxdM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI 64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8Jw Am72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lc2xSY4AK67AK6r4xMxAIw28I cxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2 IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI 42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42 IY6xAIw20EY4v20xvaj40_WFyUJVCq3wCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E 87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07bY1v-UUUUU= X-Originating-IP: [124.16.141.241] X-CM-SenderInfo: pyxotu46lvutnvoduhdfq/1tbiCwkTA1z4k0ao0gAAsZ X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'destroy_workqueue()' already drains the queue before destroying it, so there is no need to flush it explicitly. Remove the redundant 'flush_workqueue()' calls. Signed-off-by: Xu Wang Acked-by: Alexandra Winter --- drivers/s390/net/qeth_l3_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index 9251ad276ee8..d2f422a9a4f7 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c @@ -1961,7 +1961,6 @@ static void qeth_l3_remove_device(struct ccwgroup_device *cgdev) if (card->dev->reg_state == NETREG_REGISTERED) unregister_netdev(card->dev); - flush_workqueue(card->cmd_wq); destroy_workqueue(card->cmd_wq); qeth_l3_clear_ip_htable(card, 0); qeth_l3_clear_ipato_list(card); -- 2.25.1