From patchwork Wed Jun 2 14:32:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 452515 Delivered-To: patch@linaro.org Received: by 2002:a02:c735:0:0:0:0:0 with SMTP id h21csp628405jao; Wed, 2 Jun 2021 07:33:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8ZUV3mvu2c9mDWKF7DnXMH5SnSTqOoRy5RCn3hHWN9Umngma67j/fymKbqrb46uEiMAfh X-Received: by 2002:aa7:87cd:0:b029:2dd:6873:513c with SMTP id i13-20020aa787cd0000b02902dd6873513cmr27135318pfo.71.1622644419313; Wed, 02 Jun 2021 07:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622644419; cv=none; d=google.com; s=arc-20160816; b=JESPX6MOnRUVOmO5e48Y88jx620Lx+xILX9h157jjxYdhg+e/4XPnq+dy002GxKOls 5AWmK/lxspxN8zqUIuz47b/fPAp27HaPC2n9rAri0bCb3d/3RhqlbOT7O8fM1+ZvnmgI p1CL5T5qOYcz4ytqMKNB0IVPgWsUsIbTJv386EhzssHrD0L5jTRdaU+u9ZmbZZiT6GeZ 9TpPHjZpk+zmgKu7YBqpjTmxstB12zhahOBiwXK6TJqh9dde59Qu0Ns0FqXYr6B0bg1I lVQAZpz1b32GarQLof3RHgLYFuDa9/tT4dsyGyGk3+Rq5Dn6P91cFzFokIA6WUm6NMxn acHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=w5nWdjb90GI2+TAkol2s0H4fVYowwMJxaadOSn6QcUY=; b=m8rNq/Eg5Sx9YYRIG5fu2X/J3+yaMZIqT1Htxc/dso7umaWyQnG6kD+PwqeOdix1XA 5VCep0W2F/X0Ug74RIKWyv8+rR1vvyiXncaOEUIJfakPUixwVvu8j6PLolAKnHxjWor0 B3anoyLnd1itPNRla1y4aX0IBmXWJ2U4/4kyO1weB4KaEk+Mxfqyq8d40uPxXWF+C0ei 4h0Pd/C9lt5KmVyjzfUjbAP+Rnqe2RHg+tQdj7ekzPU6s2uazRBJeww5KDvwhOA55ixC rKjswYejkX4rfK8kNbLjqB7Lfw/Yzrh8ZyFhutv2fEk08nehNirSGT9KPMBldGT4jRw2 v55A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Mvgy55st; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id z5si21145524plk.130.2021.06.02.07.33.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 07:33:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Mvgy55st; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 11A9E6ECBC; Wed, 2 Jun 2021 14:33:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8FB158914A for ; Wed, 2 Jun 2021 14:33:20 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id 3-20020a05600c0243b029019f2f9b2b8aso1820967wmj.2 for ; Wed, 02 Jun 2021 07:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=w5nWdjb90GI2+TAkol2s0H4fVYowwMJxaadOSn6QcUY=; b=Mvgy55stlZuNX/pokvA4s4eyoSRztkqXdXTq93eU6mE/xvlBmNc8uYDIiGRMyggvQJ WFdXndyYicCkt2+CVRKGFMv3tWSYrppRxEGKlJy2MV5Y0BiRj1STB3e0XzkDdtXq179W cyZ4rGihQFnmuKwfP3Owt6u6vT6bLHRizWuyCP87fA0RvwKHEXseeUXI3octRriaPato uV9sgPOs+T01YQtYa0u5ZQSjCTRgSgZZ0Gfcf9D68E9d0uYEclaTQFgituOGvBDGyBN+ EHTlUC9jhGzAbnHuQlgLrzOVgyxJFK7vIy6/YzDPSxPBj41ZXvek9/DTXIqyh22B5NxP C7pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=w5nWdjb90GI2+TAkol2s0H4fVYowwMJxaadOSn6QcUY=; b=Sz7xz7Dl19l0WZxMoJhDVG2PA7gSvqN0axHvvB5UwyqsvKZnTqr7WgaX8prIVU5Rtv meeOgQB+6mHq9QoOUmX6K52lKZR20U1kskD/St1zSEn4cgsEmmPlHwwj1HI6vG3hFXKx +/CX+FOSn1VjIQgRDefWvpH01hOXW71kAXXPgdY9c/iORQ+kqFjO2JjzkGZYpGiWdlAu oSqJ4z6mjd7j7jZhzYfCvd6gZfY2otkx2m+n0DJzVcfFWlExJepW8Q/Fz8TZ4si9EuhT +da2GNOCAxTCFCbHdWcQTvdIaLkJCJjJxACbkvToB8/MnX11+W4WkWdF2xoB6J0mgL6o XdRA== X-Gm-Message-State: AOAM531SeI6sPdsziMBlEwkvYazxyHM5EVdMDTdkcyv2cvf4adQWr2/x eo6XzB7Fx7zv/CIY/qvgDt2Z6g== X-Received: by 2002:a1c:f705:: with SMTP id v5mr5533686wmh.69.1622644399228; Wed, 02 Jun 2021 07:33:19 -0700 (PDT) Received: from dell.default ([91.110.221.214]) by smtp.gmail.com with ESMTPSA id o11sm132315wrq.93.2021.06.02.07.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 07:33:18 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [RESEND 09/26] drm/msm/disp/dpu1/dpu_encoder_phys_cmd: Remove unused variable 'cmd_enc' Date: Wed, 2 Jun 2021 15:32:43 +0100 Message-Id: <20210602143300.2330146-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210602143300.2330146-1-lee.jones@linaro.org> References: <20210602143300.2330146-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, AngeloGioacchino Del Regno , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c: In function ‘dpu_encoder_phys_cmd_wait_for_commit_done’: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c:688:31: warning: variable ‘cmd_enc’ set but not used [-Wunused-but-set-variable] Cc: Rob Clark Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: AngeloGioacchino Del Regno Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.31.1 Reviewed-by: Abhinav Kumar diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c index b2be39b9144e4..088900841bf8b 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c @@ -685,10 +685,6 @@ static int dpu_encoder_phys_cmd_wait_for_tx_complete( static int dpu_encoder_phys_cmd_wait_for_commit_done( struct dpu_encoder_phys *phys_enc) { - struct dpu_encoder_phys_cmd *cmd_enc; - - cmd_enc = to_dpu_encoder_phys_cmd(phys_enc); - /* only required for master controller */ if (!dpu_encoder_phys_cmd_is_master(phys_enc)) return 0;