Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2965837pxb; Mon, 18 Oct 2021 05:44:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOs301rEm3hB9/yOOxGK8WKN+5jhgNONhuuG2MZnRWzGUpNEGDqHEQFKC3NN4hsp/6L7qM X-Received: by 2002:a17:902:b188:b029:11b:1549:da31 with SMTP id s8-20020a170902b188b029011b1549da31mr26607224plr.7.1634561048398; Mon, 18 Oct 2021 05:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634561048; cv=none; d=google.com; s=arc-20160816; b=CIhXcL98m4YPyhs9ZBJoPvG2BApnvO/V9SF1In4VAirYfkMTLp1gNNZB8ht+joOoMD BHO+h/ytuAScm2xny0Oa99BhHvxX+ucz3Fd0yjVEO4vO/sFL504YJRpEV3a7BKs1+aVF MWNjlIPqIkmL92RnGpGMGDzkxrJ5nfboRnbi4bPtlRN2dWg1FynURGuXX7UkEMtNPYcB teD4teKWve6JaG7KCu2WR9707vfl0YjEyaxmllgLHW7sxjbRdvpsu5W69LttQ7V0uuik QDohPiOKokMricGrXST1AEXogwqnHUApPeeGjoA2lh7Wt/PE5f0d2t58zb2nEiL412zs SBBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0iYdyokYod4LZcTae4ruCEjJ8TW63KspCJvOc18aEGY=; b=D8AN0pfM3vlYRgAcszboK9EqStalSjXVUoWtk9dXx7v6dzjTY4dQheFr02tB5smb1G OCO7S7N/VXrFeMw3eb1Le+5xmKYJ4TzNaFwbYLXhgigEHa730Kx9+J+tAGwiiIyJlwJk rAfp98Pucq4Mp6YoU6shsRR3nfIfDqHH+djKXKrKSRi56Zswf05EPoknb+sFg5Ie3m/m WYW4Oiz6F7e7ZcynVKUqoz3BweguTBmAoM8SE81weiyyUH7BSLhtk58vna8+2FT+Qt1J MF0+DJDUefofi+1Hr9QjX+Q31isBzHA+uOwEGgMZU9SwAxoVnP1qvrv9cGfV7+8lWhpZ idlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DJ+DZZJW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ij21si18871065pjb.136.2021.10.18.05.43.55; Mon, 18 Oct 2021 05:44:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DJ+DZZJW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231528AbhJRMon (ORCPT + 99 others); Mon, 18 Oct 2021 08:44:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229833AbhJRMom (ORCPT ); Mon, 18 Oct 2021 08:44:42 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3883AC06161C; Mon, 18 Oct 2021 05:42:31 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id r18so70777877edv.12; Mon, 18 Oct 2021 05:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0iYdyokYod4LZcTae4ruCEjJ8TW63KspCJvOc18aEGY=; b=DJ+DZZJWvqJ+4q6RDg1mfZwz48wraW0kyXocBAP5Nx8CsQ6SvSlzie5M0ATmxYMYSr 5ddXvb9oQ7nJ+07DAT9qVQYyvaO7dgKLdAVx4fy7ppmamL1CgoVOaOZc0ti4yMouxrAJ JQGs3E/mH8IcXzjdPUDpLhBvHkhfC176YCvJC1m8rzQ4RBGQZ4iFPZOt+51iqBw92O3s JUmlIijDEXLVS0HeA7vwNO/OW0QbFfJFYcRra9wpNb/3TcCNeHd8NCYn6gW1VlsG9OQ+ AmdYOWtDf9F7R5SV1V1BDTPXZ7Ftl3T195Gi5x4aCm+mz/4TDMThJ5D7xB++j582xUoy KHPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0iYdyokYod4LZcTae4ruCEjJ8TW63KspCJvOc18aEGY=; b=A/60TjxoqbB4tMedphHrVJkEXXYhgP0CxEb5Kyk2aP1pEmY7kNUqNRthW2pgzQ1Jce bo4FlZeKVDOWxmCNMmmuCaUC6K/6Hv9DiWERohY040ek+cyBQr+Rd/dxPPURx981RMdY x668YVyUPcgaLvvusW7xEh3BawbzrexZ7cDBGMpIJT9esSHB4gzDzLim9t4c20hBtyYB RGOm4fTW63743hw6MOcy9+26GwbUNDgx0oM8Tx+leGmYjGdsu4Lny/uxyLOTAtTEeQrO aCFxQyDtZKFUhYGhHhPYWHkf9kWBMa8n7Lq5cAFDcNL7LI9YS4NcG9hyk/6b9TIU4Z3A 14Ug== X-Gm-Message-State: AOAM533nQiuM+dnujrP+Ytdpx3qEBH7yuShjuEwv8Oel+PYGp0ec/c1D 2Z08NnluWkCiLQY1HIKqp9lYIpU5J0zgWGbKf6I= X-Received: by 2002:a17:906:9888:: with SMTP id zc8mr30340887ejb.504.1634560946664; Mon, 18 Oct 2021 05:42:26 -0700 (PDT) MIME-Version: 1.0 References: <75e8ba40076ad707d47e3a3670e6b23c1b8b11bc.1633874223.git.christophe.jaillet@wanadoo.fr> In-Reply-To: <75e8ba40076ad707d47e3a3670e6b23c1b8b11bc.1633874223.git.christophe.jaillet@wanadoo.fr> From: Christian Gmeiner Date: Mon, 18 Oct 2021 14:42:15 +0200 Message-ID: Subject: Re: [PATCH] drm: Remove redundant 'flush_workqueue()' calls To: christophe.jaillet@wanadoo.fr Cc: Lucas Stach , Russell King , David Airlie , Daniel Vetter , Rob Clark , Sean Paul , jyri.sarha@iki.fi, tomba@kernel.org, linux-graphics-maintainer@vmware.com, zackr@vmware.com, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, The etnaviv authors , DRI mailing list , LKML , kernel-janitors@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am So., 10. Okt. 2021 um 16:08 Uhr schrieb Christophe JAILLET : > > 'destroy_workqueue()' already drains the queue before destroying it, so > there is no need to flush it explicitly. > > Remove the redundant 'flush_workqueue()' calls. > > This was generated with coccinelle: > > @@ > expression E; > @@ > - flush_workqueue(E); > destroy_workqueue(E); > > Signed-off-by: Christophe JAILLET For drm/etnaviv: Reviewed-by: Christian Gmeiner -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info/privacypolicy