Message ID | 20210108201457.3078600-4-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855474jai; Fri, 8 Jan 2021 12:15:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJZ8EbwHnn9/rAMlsMrWMP59posAsGhzgiUCSEKtmWaf17hAB1kcdDPaoNVY2xYni6Rn2a X-Received: by 2002:a17:90a:a24:: with SMTP id o33mr5449890pjo.191.1610136918471; Fri, 08 Jan 2021 12:15:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136918; cv=none; d=google.com; s=arc-20160816; b=omYy75IqY+lMpE+aQIYBk+4Yb7fOMbQmHFlvlWgmpgad6lOPRD25/J0BAkQQeJlBGs hxvaVa1Mu3P/K6WL95G9EJYFfBME/XAUx2DVuGJK8t/XlOkNLS8GmtYlzpHRxQtiIwvt 7uhubFKV45FajtUx7z68dMEYg9Qs7gTv7J9EJ8R0pEbtnxVBYR+ANDgLwZklELiMHbL/ qn4ZlugqVyTxCSJQ8j6mBrsZlMj49ZPI9zTjL6OoNjSalpgyFZXqe8IlU13HJqQHTYS/ +YO66g9SjdQXRyZoto5N8euClzGFtZRD/U4//kdcsGAQV+gZkGBUidCTJkVWRafF1DCq vV9A== 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=Ee84oNdX6vw+pGd4iJ0f61L6Kychrq4sIW1ECuFkFv0=; b=IuRW+87LlfH26Ecwykf60t7KwNHeJjY1JnYycuI8btEVLkItKsdswwPigRY7UMy1t8 waA/9kBhbK/sKe7QLAhdzXbajXfL4e3G/ZJDkXcSjhWyByARuGxJKyKfz5QbF+veihMV X5WF5ZuNve+KRCNV7jAdmLXoxjKyYggTwLoEqpicKHBzL3ibf+c76eEKu8xHMvEfRFx3 8THE1BLk2l+1MsC6p0NZ1yITCKaro2LozBEUQvrlXZWjk0tj4HShgr440RP6rBTbrizJ 7/eJ8j6Kf5iIz7d9KE8PLCROVM+CEjRyTOq5+imGc93oqqq+pzGhmT94hsyJ2bbI/CJo x01A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=wBSjRd6h; 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 s23si8899332pju.30.2021.01.08.12.15.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:18 -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=wBSjRd6h; 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 295FC6E8C4; Fri, 8 Jan 2021 20:15:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2EC9C6E8C8 for <dri-devel@lists.freedesktop.org>; Fri, 8 Jan 2021 20:15:10 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id a12so10119847wrv.8 for <dri-devel@lists.freedesktop.org>; Fri, 08 Jan 2021 12:15:10 -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=O/JKS4Z9qKDOKy5sO9nbCc5XSxxopAD1h4qHJfgSdqg=; b=wBSjRd6hUt3BDerrolAnKVhQ503TF7vDvG8dtbt/o8U9vNcsSGQEhFuSmNBOZGNp10 PIzT2j7v23x8tNl3mkHGXOcF+GrbyDeTlpsSGDgKmSEcKYq0dab/m2KdmmOB57EVyCpI r/A8Jpxw89BpPtpwDjyN5aPAuMZ6s/KjgVgcsFPBXl9ioick3mKTDMbOEZOEwxasDz6g kl+0YEl+Xa46pYow7bex/TCbi1vZ4ecASb12ivzYiyc1CtI38PubzyDvHvhdXqR3IFIm 7hlsKs/zBlnsTrpiIEgwVdlZk1DB0zjTg9F3/sQC5vQghrwIso0dr5KcEZBs+6wROCj1 YPSQ== 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=O/JKS4Z9qKDOKy5sO9nbCc5XSxxopAD1h4qHJfgSdqg=; b=oDsRTjSVTxwt29r7PxLIu0/j0ZG5HEtkLzn+tYMsOpaCpM/wv7Qjg+Lg1AWdW73U7w uWVjKigVCCPZeccn1CooWlrnjSq//8SpH2yTWXnzU5Lsug2PY1PiGWEdvhxhiPXVG/ra C29YBPBa/ufyyZpMZfPT+PT/MM2NIBUR0TJuElTsLPcgYyZGOlHKm00tlIqvkPIF6BNX OmF6Rg9tpCo255VjxR895etZHPYPWedslXV6dX/7jO9Xge+F0EL8OB7poVNBA5bjV4P8 WWECl3ELwNjonmBS8iXPhJOe2bD/qgI6eRIHdO07Ge/niri042bUAD2OMK0YIudXy/Sm mJ7Q== X-Gm-Message-State: AOAM5333UDJKsoU5ZyhCCTf8lBmunTiYA1NQL6tDalQjhPF1Yxb2d7bn rORQ0kLon4QlGLgXkTIpmX2EaQ== X-Received: by 2002:adf:ee10:: with SMTP id y16mr5306753wrn.296.1610136908812; Fri, 08 Jan 2021 12:15:08 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:08 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Subject: [PATCH 03/40] drm/msm/dp/dp_display: Remove unused variable 'hpd' Date: Fri, 8 Jan 2021 20:14:20 +0000 Message-Id: <20210108201457.3078600-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210108201457.3078600-1-lee.jones@linaro.org> References: <20210108201457.3078600-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: freedreno@lists.freedesktop.org, David Airlie <airlied@linux.ie>, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kuogee Hsieh <khsieh@codeaurora.org>, Sean Paul <sean@poorly.run> 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/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 6e971d552911f..637a5585c2fd8 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -493,7 +493,6 @@ static int dp_display_usbpd_attention_cb(struct device *dev) int rc = 0; u32 sink_request; struct dp_display_private *dp; - struct dp_usbpd *hpd; if (!dev) { DRM_ERROR("invalid dev\n"); @@ -507,8 +506,6 @@ static int dp_display_usbpd_attention_cb(struct device *dev) return -ENODEV; } - hpd = dp->usbpd; - /* check for any test request issued by sink */ rc = dp_link_process_request(dp->link); if (!rc) {
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/msm/dp/dp_display.c: In function ‘dp_display_usbpd_attention_cb’: drivers/gpu/drm/msm/dp/dp_display.c:496:19: warning: variable ‘hpd’ set but not used [-Wunused-but-set-variable] Cc: Rob Clark <robdclark@gmail.com> Cc: Sean Paul <sean@poorly.run> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Kuogee Hsieh <khsieh@codeaurora.org> Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/gpu/drm/msm/dp/dp_display.c | 3 --- 1 file changed, 3 deletions(-)