Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp577489pxb; Fri, 8 Jan 2021 12:18:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhue4fWB/aGf8vOhu0JiISh8HehkxBz4V9pYdSWM4XvadaN4bOKF4lqK38WpEoLzBFdzE6 X-Received: by 2002:aa7:cd44:: with SMTP id v4mr6441573edw.156.1610137104691; Fri, 08 Jan 2021 12:18:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610137104; cv=none; d=google.com; s=arc-20160816; b=S66q9zjfQzmR5WXW0V9mAQjuOADrOF6WVIr9xB/x/6SUGs8UZ5Y0fx6Oh0SP9dkWiV yowNogiWVoyVuBG/ulON5dmIZspLl3ojMJ7Ooj4NGFShNg184IiT4RAqVsuZ64WioZLL 2Q4q1db0QwJELOHG3qgitfiHCEAaMu5Y2TmmZcpRG/MYn49BD7L5gRhNl9tbtrBd+P+z KJT4wDPcFKq0lVmKSC6G8srhRTrFElAEsGl+JL575bpV1jCTRCn/07/j5taqSB89zX1X Rg5dBlhj/4a3B2qsZv2jvVDKEm4n9bVKtxI0ThXG43KEvvn5x5oVzLNpQp7EYcDHSv7a v5uA== 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=O/JKS4Z9qKDOKy5sO9nbCc5XSxxopAD1h4qHJfgSdqg=; b=RmBpFoccU+KqP9ODVZP7PbhqOo2rUyEdPt3JgEJruywWJOaCQd2jEbTR+lHvxtioVa 0oP2FIqYqlTabvYqb4l1Nis2Zb821DhpeyF17FfSqPhbfO8bdbze02BTDZJ4AZB8qp/7 il09pvX7YPg4KDuDpbTV9inIWhKgOjetSoMzWum/e1JBq4ljHeQVzmt+gLghrsKXx5qG Ek7cljc083OTYm6YNTFpFuXFD9LEeSqe/b/7T/OzxeHbdktdUA/Pmr0QB9GRoexla2XO f3elUu4MfaRekKs8oTYyEfaqTkwkcyg9RA2lard+CLyfToNcEJA379ASaoyYas8yWh4S eXwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wBSjRd6h; 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 nl1si3725642ejb.470.2021.01.08.12.18.00; Fri, 08 Jan 2021 12:18:24 -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=wBSjRd6h; 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 S1729142AbhAHUQG (ORCPT + 99 others); Fri, 8 Jan 2021 15:16:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728883AbhAHUQF (ORCPT ); Fri, 8 Jan 2021 15:16:05 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 173E5C06129C for ; Fri, 8 Jan 2021 12:15:10 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id d13so10096515wrc.13 for ; 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=gP6kIH04vZlhBe4YyFtdJevyrZhPIOF4aLbroGPMt5nhrVP8HQnQMslZS/B6AFFrc/ vhcs1nER39kKjaT9F6/OFJnAvUoeW1jcA39cubDwdRlhhqp4CVfFa1FQxAJ6JuwG0JHe C+xrAipzmaytjjafVn2VM7wQxOyBfaD9rDc016/zUHbwq4XT2uuj5xy0Xa29xKROvD84 8X3ST3KOCzeAwq1Jn+5y1IcJQG5UnR0Ktkj940UR2/okMovdZwoFIceTyIJmHYLbmUdl yadW3dwGNVOkVrmluWWx/zy0ERFQdd3KvmDDmunf2aBFT6RslG4C4m36E36Q46GVNyps gkdA== X-Gm-Message-State: AOAM533hOJ2KUzd36+byjLherAym30X5B2knFOOXepTvEBrOBZ2F7AvS wEqr6estjQgXyajeC9RVsW2RLe0GFQ5wxEz7 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 To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Kuogee Hsieh , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.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 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/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 Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Kuogee Hsieh 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/dp/dp_display.c | 3 --- 1 file changed, 3 deletions(-) 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) { -- 2.25.1