Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1578505pxb; Thu, 4 Mar 2021 15:20:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaXX6Mwg6rSSXGxBf952HXqqNxmXLLnE75MuxPAFj1JmKvxok8vd0gzxUuHeO86qu+A3ck X-Received: by 2002:a17:906:2e08:: with SMTP id n8mr917152eji.527.1614900026525; Thu, 04 Mar 2021 15:20:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614900026; cv=none; d=google.com; s=arc-20160816; b=WSnB2CbTdbA3jp84NYsCQmgkb6HZFK3BIltciQgg+XIOdw6aZ3WVnASV8ktoxOxcZG WpEIyPCiY1d6GrkVhxCHSSBYSeckJr/thVakkN62Fy6e2J8HjWw3Jdl5HlBzcALzx3LR /Jf3in86UoZMJNr/NteFG3XQ2p6zOhRiGyUhr3hyX5fJCZE/5B0e9q8w35ZHlWWrVkcU ApLcqYQtLp5hrp9fC1dUr4cuGrq6KT8MSkVyZn4H0w9eHnmUnriDOblXT5QBHJGL6SL/ 6Y02QitrU8CS+uMlXmwCv435iiqOa0ILoM4+31dSiaHW0eNizNMEeqUO7rpjD3pbBU8M AgTQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RtDwwCGh7BV2jdAMFgyU0jxW3SadS1NJKEYSwbpKHII=; b=kMfoy+bpiiVIOuErosbAD7WxK2LJHWv7gqE3iV//TBbt3EAd/upvDY3OoN/ccTDkrD NbEdN53MA/Gubn9hHd8vE1bRpmgTQmlYMiD4B/PMQ5MXZNhBllq3nyZJz8nHa8V4auIQ enoXK3yu/5W+uNXiAkbv3JAHxXK+bfNbK8PzKGtRRPHz/P1DujTAZTnM0llZXTkna3LJ 1UMwCwVjE+lhMWsJRF/7HgU3PMtOZbgfjT/ocO6P0CvvweoylDvRgK8VCkDTXk+1adLZ RU5nRf6ZWuByVrUDrPGJ5eT5N+Lh2p0CRp9uTvLqkrHvOomjrtVLkt19qc68DEjJJudK y1jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sRgB8t25; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df23si604998edb.38.2021.03.04.15.20.03; Thu, 04 Mar 2021 15:20:26 -0800 (PST) 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=@linaro.org header.s=google header.b=sRgB8t25; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1385585AbhCCRUs (ORCPT + 99 others); Wed, 3 Mar 2021 12:20:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349314AbhCCNoS (ORCPT ); Wed, 3 Mar 2021 08:44:18 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8D42C061356 for ; Wed, 3 Mar 2021 05:43:37 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id w7so5210295wmb.5 for ; Wed, 03 Mar 2021 05:43:37 -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=RtDwwCGh7BV2jdAMFgyU0jxW3SadS1NJKEYSwbpKHII=; b=sRgB8t25PZ10NkKal1+Peihtxu3GBrpIEwtbkDw27UzpVFQ3vx8N1Mf2WTQ7ghbjVQ Xl76lwrOvw1fNHzen5mLV36KjI+ddlwXHlxOFhD0iqCJg9U/mdhCaSpzgc5ppVg7T+kA tAcDT+por1yZTddeRmmq1oEn72Qig/It4dAOaIhLvuW4PJFhrOa8jzeYlneKPloH7vKQ 8EMprRzfE6UxTKOqziJbd+JBDsTyYgkr0ZdR7nvsGLCtsQTIBRql7VF76lFxSiwe6A0y Gociy9qIFajV/I1guI1glaRMFdlcm1bOgG2ONLUZ9H8DB4KHNtljK5w8/L5xkCFNKA2U hChQ== 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=RtDwwCGh7BV2jdAMFgyU0jxW3SadS1NJKEYSwbpKHII=; b=nJ/8osQXnnlbN2qU6E4VHZlRbVlfc9tJq5LrmFeNSkyRkp15C/qk6B3OIV/QLXb+W1 O8QwRoH4ysCgIIVzW59bpTnraUF/5OXBCLy0NgRN2zkF7lOHa25rP5MnkRXhhsC1Bpz/ uhjCQSHkGK1VF4dkNwSrth5jILGm1Rydf/NZjb2PSesgbbYC+ZYokJZp+KWLQJxtID/A 9CnHZWcuOZkq9Z+sVaq1R9dbdmzKfXGmu/eEyNvxhJ+Hk0DWJvaDgKCm6x5z+Fs86SpH 6yziJ/7JF031a51NwoSVuOpCQYT57Ovyz91C8c9M/rBSqB0snlXFoOABjVH4SXSH2jxO fbTQ== X-Gm-Message-State: AOAM530AaYudWesqwbuPXd8NdW9RPwf/3pxV2nbZtlumOWC0m8ks8Z03 r41RDDUG7v3WndWcS1wlTXDmpA== X-Received: by 2002:a1c:400b:: with SMTP id n11mr9078519wma.167.1614779011028; Wed, 03 Mar 2021 05:43:31 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id w18sm6109524wrr.7.2021.03.03.05.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:43:30 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Ben Skeggs , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org Subject: [PATCH 02/53] drm/nouveau/dispnv50/disp: Remove unused variable 'ret' Date: Wed, 3 Mar 2021 13:42:28 +0000 Message-Id: <20210303134319.3160762-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303134319.3160762-1-lee.jones@linaro.org> References: <20210303134319.3160762-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/disp.c:1381:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c index 196612addfd61..c51efca82ac78 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/disp.c +++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c @@ -1410,10 +1410,9 @@ nv50_mstm_prepare(struct nv50_mstm *mstm) { struct nouveau_drm *drm = nouveau_drm(mstm->outp->base.base.dev); struct drm_encoder *encoder; - int ret; NV_ATOMIC(drm, "%s: mstm prepare\n", mstm->outp->base.base.name); - ret = drm_dp_update_payload_part1(&mstm->mgr); + drm_dp_update_payload_part1(&mstm->mgr); drm_for_each_encoder(encoder, mstm->outp->base.base.dev) { if (encoder->encoder_type == DRM_MODE_ENCODER_DPMST) { -- 2.27.0