Message ID | 20210115181313.3431493-5-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp88699jap; Fri, 15 Jan 2021 10:13:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBjvep3ct2JQgHUmHgazB4jWKkoMC9ND4pkgx9z8Y+LxU3b/YCguJIl7MymkPQhPxA5lVt X-Received: by 2002:a62:80ce:0:b029:19d:b280:5019 with SMTP id j197-20020a6280ce0000b029019db2805019mr13960789pfd.43.1610734414810; Fri, 15 Jan 2021 10:13:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734414; cv=none; d=google.com; s=arc-20160816; b=ivNEqA9lftv4oH0eUCJnj7DvuJPngn3nX+PqrOE0nSWXIqbEcgnOPqpYO9sKJpGrlL E0moBSQZVUjfigfgB7Wtmd6UdZXRlxVczkfwx0kpLzLDnvMWrJXmYvcw7O+t8BE/vNjT BV2WAhQrElv/IJvEvNBhHrxgayJbM70x5/V2aWz8pzZLZNnD4cf27oRq5/B/0bsqL8EZ QGj0vbTRznicnie9QP0sUnvad9ubpZHww932AypjjdPz6Mjxq+datAhRGCb6YT4sNCmN vIQmNQ7yS3EVNUWEjEDx39s6erNk/8/Cs506DuEtVATi0rP51Y5KgF5nDHPlcqmH/OSr rWWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=wim0xuiN4M9H39Q1YG68w7utsunJ5+3Ey/NQ/pUDx7Y=; b=ofWkwRyKtXYq88e1mPulb65T2R1nIGmK8/RgLxdgVVKBqBOlE14TN25yxLBjERu+nk //Qjgnnz7AOR2zPmUyqr4Fn9OdC6fZQEvd3Q3E9C059a4oNMWo3tZ3NsXc2O/GTHDKM+ czTUUfAd+SjzcGO5wT2Xn7gRxYf0yAmLuLSyjwwpbnBv6wNBOQMNL0IFYlCsoSzYtBPE TIiKMExRfRfnuO/Altz1BkkXdlas4T8VSt3p00YNqd4+oUrR3cC/0Ky79gKwdBlRYllX ZtgWz4cnckYAVppKJFy8fMIiEWDHnj5F8TAP1kZ7u0GxpoB4ORSkp5A7frMaDXFUC6dY 6INg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EXlvQ1xk; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id 17si10399427pfj.43.2021.01.15.10.13.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EXlvQ1xk; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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 CCBB66E42C; Fri, 15 Jan 2021 18:13:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by gabe.freedesktop.org (Postfix) with ESMTPS id DA8316E42C for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 18:13:22 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id y17so10189194wrr.10 for <dri-devel@lists.freedesktop.org>; Fri, 15 Jan 2021 10:13:22 -0800 (PST) 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=A6joXVovshGu0VUNPPEN8i/itJp2RBRid6Z1nZigsRg=; b=EXlvQ1xkuYaB0Z7MdEmm5WdvyxotwscXh8F9NHedDJhTWXPeZU2gdBVPYu2OMHO23K dJ1ancfIwxMzShrNifaoMD53u0iTsFUFLLs6DAH9RK+2Q52Dm1lQUbrkxG0psDGfvKZQ 1q23GTqrN2ZlUI1/IGj7veXKtmNjfJrkK8xDHtZ4QHbvzK4yxaf0me/Bu1PmlP/rH1D5 HjTLgfrnW1un6iLvAUuHfNUXBa5aGyYYh68Akri/+EqvSmQqc3TTb0ka82S/NodzUXbi 50Fpepn8Iu6zfCgWWi5e2tJ4pPnKvyPkYTsgOxqzq3X5UIpDk/eC4DdZt0G0SexixD7z o0kA== 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=A6joXVovshGu0VUNPPEN8i/itJp2RBRid6Z1nZigsRg=; b=F5A6gRcQGwq1GdtzvjHFxCclAnQSYmSfwkhYnv8uj8j03Vm6Fyx1SwNhWjpR0xr5m1 ayci6iNgpgaXuLP6iua9hC8zriIPFFZTf59SLsor1eadBoUTaM5T6e+Y0NVm8y4CzU2g oqK2dqmSt5cBdwM+raR9++g1M3HXkNJhENdznxwkt54O3ljgzpWC+gl6C7VPdhvHdks1 LT1nuEJIrNPjVB8ceCk6Y/kNMku5uhbiA4rXX3FvOQ5A2+3IHbz1gUVBgGmNLlxA5+sP 2MBDB/8mJK5FgmkGC15jSx5dznG6rRqFe2hk2ORazJTWGjUjfBWdnzOUo+qBEfPBq5Td lkig== X-Gm-Message-State: AOAM5303M8ruScbJKctZGFbQa1fiD50xaRbBEQQJZP7YhRUuwWC7ohcK mEPNk8VPp/LoEZhKYhmnWHma9A== X-Received: by 2002:adf:eac7:: with SMTP id o7mr14550950wrn.23.1610734401637; Fri, 15 Jan 2021 10:13:21 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:21 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 04/40] drm/vmwgfx/vmwgfx_kms: Remove unused variable 'ret' from 'vmw_du_primary_plane_atomic_check()' Date: Fri, 15 Jan 2021 18:12:37 +0000 Message-Id: <20210115181313.3431493-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-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 <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: David Airlie <airlied@linux.ie>, Roland Scheidegger <sroland@vmware.com>, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, VMware Graphics <linux-graphics-maintainer@vmware.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
Rid W=1 warnings from GPU
|
expand
|
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c index 9a89f658e501c..9293dc19a7683 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c @@ -453,10 +453,9 @@ int vmw_du_primary_plane_atomic_check(struct drm_plane *plane, if (!ret && new_fb) { struct drm_crtc *crtc = state->crtc; - struct vmw_connector_state *vcs; struct vmw_display_unit *du = vmw_crtc_to_du(crtc); - vcs = vmw_connector_state_to_vcs(du->connector.state); + vmw_connector_state_to_vcs(du->connector.state); }
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vmwgfx/vmwgfx_kms.c: In function ‘vmw_du_primary_plane_atomic_check’: drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:460:31: warning: variable ‘vcs’ set but not used [-Wunused-but-set-variable] Cc: VMware Graphics <linux-graphics-maintainer@vmware.com> Cc: Roland Scheidegger <sroland@vmware.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)