Message ID | 20210416143725.2769053-4-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 0c86f885116e929c4a315de9f1ada02374c31d79 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447320jaf; Fri, 16 Apr 2021 07:37:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5FWH4etPTFdoO8a4PnKVGW3GEoYvED/4TlDoDmuV0oBZvj/ODkGiZAN44zvmPb9ZCNcpD X-Received: by 2002:a17:90b:2355:: with SMTP id ms21mr10125506pjb.226.1618583862763; Fri, 16 Apr 2021 07:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583862; cv=none; d=google.com; s=arc-20160816; b=Ygyh66QW2EOnQTnke+lIevtzrKf6pYCRPG3vsXkI36QS7SOkgMEJPegXGdE3oxCjzT SuYHLu+YtqGk3OpZB1sJB7+vjmHdNCphnRRQv905EHvQITtnbtW8FfUh3SYVjqAa48oS EYN4513Ye9hyh+Mv1qALumdvMVSYo5qe5w3psuGlTQNhkfYxyRscOrI1tpvnVNOzAjNH iHkmVy3Seyd1oHLN8/fz055GRkCn4vd4TpE3q8yPy4sC9CWlONjjNZdayJmrN1hKi1T8 ktzIYIY+RfT2dSWQuabRPohrkEij1qXFynjWKzVOIAaz+TMXqzYyUn1hD9DZKK7T1txT oBYQ== 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=W+/oroL3XD2YlYqTDQFkYDYCwajo9Zsx8Hh1KP2sDlo=; b=FuEniW0iz9eXkPgHV7VI9X2Eu5meCkD5mcv2+YYBlb8yVWm8rZRabz2q8/IrFzi906 ikdoQzw2TdNeeIsLpa6PDjPhMB2aTfRwTK33ODHMU2RSLYe14YBMUpT/8z3OP8+FGihz jdZ90ifNIFBsg2om17WyJ/lilFSNcDPpkAV5iCDqcg/vRrV51Enfebzf2pwacfVHjRTL G0R1eUoe6RQr/tXWZFazE1A/lBNu6IGd+qdVs8I1zH/woWwg4VfLCHEWt0d4aGaqinzC ypeJB440vJnn2k8h60GPxivierkOtdemAGk/QWiPW+kXROFZvXOSb4SAvW9h4PSRcO7I ZpgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=mr7mcxDC; 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 g1si7477832pjl.135.2021.04.16.07.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:42 -0700 (PDT) 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=mr7mcxDC; 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 BA1B26EBD0; Fri, 16 Apr 2021 14:37:37 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by gabe.freedesktop.org (Postfix) with ESMTPS id C65BC6EBB5 for <dri-devel@lists.freedesktop.org>; Fri, 16 Apr 2021 14:37:34 +0000 (UTC) Received: by mail-ej1-x62a.google.com with SMTP id l4so42443346ejc.10 for <dri-devel@lists.freedesktop.org>; Fri, 16 Apr 2021 07:37:34 -0700 (PDT) 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=/33rrW6tAmVtxRYoiv0PK1lc5LAomei+z6FwtqsCisM=; b=mr7mcxDCkJ8MhFaVouTHt6dvkAGmS8HK4Hsecj8ryEDXuyrg6L3br6ohFHv7uAsu9T w3j+TgQ6YNNQrtMauk4qHrptT7OQWrR9oytM5dUgU4dwD2kElP4WYvTD4HnV0c9LphsH B6njwvTRZyxuf0MLnd4gH/1NsT4Wy6couYfoPQBqYkHmqav6uTU/hKc1uCV/j8eu7X7U 38LacZ+Zq/pHDs3pKO/MRnv5uhxP8Ncrrq68OkHgpX3t3MFaPm2LuytYSbP8ep7k12KJ 6bFJinfIbvCy2mmXSDrIp5dC/a3aenEyXyO7KTo82kBVW5SBZC/xKczOCAIKXRZNkq/1 Wl9w== 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=/33rrW6tAmVtxRYoiv0PK1lc5LAomei+z6FwtqsCisM=; b=Nnj1o6fXHGyijxahJQsuJrUrsDOJHWw0iKOqbfZz8FO9vTbMXGQmSkf6kUwktrvPgK T+aKiqb3WyMZ7kjahjCeOTvCmm9llmBzeFvTSawjiyIHRgt0M2kZ6F17nLeilwOozJBn gnQndrkHm9KEKBNorus6Odm9Fg6WChnerb9B+opP433Zn5eXVpRTiquJXUkCarX5Ixm1 wbmRB9RZA7IThMEqh/9RPCGPHUpAwdAWlb7GEPNoqfaQzM9EcTlW5STtmdSX4jNO0JOB v1BWuvR0Xtj0hUjyNxiN6O1/O+oWWt+u83DAw7JHJ8RSP6ZOamvVAbJjLB0eLKX5BOna kaOw== X-Gm-Message-State: AOAM531avY9YwW9peWslG0t5XD3WwUbewAZhKtnoVx4GBoD2/kU9qhRK Ub7S09yeHm5SjVYPmZUQNVb4YQ== X-Received: by 2002:a17:906:7842:: with SMTP id p2mr9043139ejm.87.1618583853536; Fri, 16 Apr 2021 07:37:33 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:33 -0700 (PDT) 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, 16 Apr 2021 15:36:48 +0100 Message-Id: <20210416143725.2769053-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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 5a39da6e1eaf2..31bf2a40a9eb2 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(-)