From patchwork Wed Mar 3 13:42:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392067 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp5132831jap; Wed, 3 Mar 2021 05:43:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzIBgzfpiWzlDfKG3qlFo+bIAmIaujcdliOZx1wanIY6sRxOXVGeoQsymnuQaqEDsQXwZTg X-Received: by 2002:a63:cf05:: with SMTP id j5mr23772440pgg.384.1614779031630; Wed, 03 Mar 2021 05:43:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779031; cv=none; d=google.com; s=arc-20160816; b=HSUcdFPM9IicINSbrVhMQDbBxPluqFzNb8Z1twPuZyUIgSQGKwOkIwxlCHuIKTaSvE qoaSqZH5awD55jEjm1TLf4ShotDBus7A8vr135rOpNaQolJqT9fGHAt5BiAg8eIfwWdx J8lZmhlUQvjiSPnTXOd2GDJdvUzZDYKxvB2ROWmDspqo9HKJHPnGf3/fivImmea4a+KO 1KOERtCFgBAdVFZ8MOJludw2/9TiMWlGMT/5HlFBv3Xg1FO8gHpIr8a83Zu8x4EKmGr0 WhYSCJgw9WeKF87UReLKzKa9gL+f4OUlBWZ+ViWP7Bt52896pUUErDy1bKd3+oLA2I7z loUA== 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=SDa/DydGTT2ylAmIY/Mjfo6OhiEqcJIajyNu7CXPfkY7dvrsND1seZQi1bQOwuFZbV j767nUWq8IztbQSZSvY0kmLY4/xZbnDkDcdXF6fDJX0e0mq4BZ6Igfv5pPVICyHmaH7o DsKaUp7E4uO8kcrhQ6ezEYxvtXRY20PvQ/zvRiBcS04LCD4cBb4ezIRsC0G+2Wmps7kA ZcfOYk47RebEUEcPK0da+007SXs5grPyJxda1oZjVBvdWy5e9dUCTVRVJw8YUDCWpkfE 7qKRLJ2Cz1QFSyrYLXIFvzk5/xHqDrLliUD3l8cZYhYSaDkItha4q0WaCpsx3WEQsMY+ 5QsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dhSUUgmE; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id 9si11384003pgr.371.2021.03.03.05.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:43:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dhSUUgmE; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 B965A6E8DE; Wed, 3 Mar 2021 13:43:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by gabe.freedesktop.org (Postfix) with ESMTPS id BF0976E8D8 for ; Wed, 3 Mar 2021 13:43:33 +0000 (UTC) Received: by mail-wm1-x329.google.com with SMTP id u125so6378466wmg.4 for ; Wed, 03 Mar 2021 05:43:33 -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=/33rrW6tAmVtxRYoiv0PK1lc5LAomei+z6FwtqsCisM=; b=dhSUUgmE7ZX33ei022sF4B/eNLt7eRn6jyC6OPLLge7KLxxCOeCa28VOHm8A2NqkOz rC5HtpmrZfFZTpr1oxG4X536z+qSdFWpmImIvI0zypVu71zTpz2EWNslYDCj5a+ibt09 TKB3YH++0UGqcXv4EqTw863+Sup2Nio3mTY788B7rDNCTnhq8t7oYkaqgvC9Oi9Ns5U8 PEDhLB0l5/UlEsh2yZkvIGxEOwr2hdNd1JAEm3lzqNhrZ/F78oTmE/S2AGHFnm+F3W41 wAL/9MqBdbhvvMpKruwntRhuemSAEs9b4568GTwFsUW57U544g+jjXC8m4uaD4PGB/sh niIg== 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=DTzDDwPkbngJco5grgcjR0cIZ+irkRybDy3qi1v5LDDbf82SvPNgUBSgIvWnck0rm/ 2Ncazp0ejlTL7N3QEexyesHZvJZdCn1qFDHWyQj2tNb2ojTo2UgyoGlmExbLukoUzACg vA5E99rikVrEWYGCw5VlyLgumBhLHv2vNmbI9wLJqLfMi9R7Bx3xlGvhaIGiFMDpEyry BxRGT8Ukyc7wYMGlwL4FXEiuylIHcC2v91/jrame2ia7ii5RGLxwcs1h5QOdlySe1HQV 3uuyB+Mp2AGLb4eQAzah1EqesnaenohTo/En6H3ZDPHMqXmqrBmF8BCaNonfaGq9SOzs y1dg== X-Gm-Message-State: AOAM532SYWAFJ0W876rjZ7Zt4j66EP3MtuUvVPauYnJdC9oBEkIoyn4A nDwMsGuH3yO/JGDhlptXHtZ1/g== X-Received: by 2002:a1c:f30a:: with SMTP id q10mr9539427wmq.159.1614779012467; Wed, 03 Mar 2021 05:43:32 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id w18sm6109524wrr.7.2021.03.03.05.43.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 05:43:31 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 03/53] drm/msm/dp/dp_display: Remove unused variable 'hpd' Date: Wed, 3 Mar 2021 13:42:29 +0000 Message-Id: <20210303134319.3160762-4-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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: freedreno@lists.freedesktop.org, David Airlie , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kuogee Hsieh , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 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) {