Message ID | 20210115181313.3431493-5-lee.jones@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=gBiD=GS=lists.freedesktop.org=dri-devel-bounces@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AEB9CC433E0 for <dri-devel@archiver.kernel.org>; Fri, 15 Jan 2021 18:13:33 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 642BA23A58 for <dri-devel@archiver.kernel.org>; Fri, 15 Jan 2021 18:13:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 642BA23A58 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.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) 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-Google-Smtp-Source: ABdhPJzBkaanuNrwj5IIxpOf2GYlr9KoLi6NwQlWpRiq8dPyjtOk8hCZpIdDhOd8/ew2D5/WlxQr4A== 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(-)