From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>, David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>, Kuogee Hsieh <khsieh@codeaurora.org>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 03/19] drm/msm/dp/dp_display: Remove unused variable 'hpd' Date: Fri, 19 Mar 2021 08:24:12 +0000 [thread overview] Message-ID: <20210319082428.3294591-4-lee.jones@linaro.org> (raw) In-Reply-To: <20210319082428.3294591-1-lee.jones@linaro.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 <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(-) 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) { -- 2.27.0
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org 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> Subject: [PATCH 03/19] drm/msm/dp/dp_display: Remove unused variable 'hpd' Date: Fri, 19 Mar 2021 08:24:12 +0000 [thread overview] Message-ID: <20210319082428.3294591-4-lee.jones@linaro.org> (raw) In-Reply-To: <20210319082428.3294591-1-lee.jones@linaro.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 <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(-) 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) { -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2021-03-19 8:25 UTC|newest] Thread overview: 122+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-19 8:24 [RESEND 00/19] Rid GPU from W=1 warnings Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 8:24 ` [PATCH 01/19] drm/nouveau/nvkm/subdev/bios/init: Demote obvious abuse of kernel-doc Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 9:54 ` Karol Herbst 2021-03-19 9:54 ` Karol Herbst 2021-03-19 9:54 ` [Nouveau] " Karol Herbst 2021-03-19 8:24 ` [PATCH 02/19] drm/nouveau/dispnv50/disp: Remove unused variable 'ret' Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 8:24 ` Lee Jones [this message] 2021-03-19 8:24 ` [PATCH 03/19] drm/msm/dp/dp_display: Remove unused variable 'hpd' Lee Jones 2021-03-19 8:24 ` [PATCH 04/19] include: drm: drm_atomic: Make use of 'new_plane_state' Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 13:52 ` Ville Syrjälä 2021-03-19 13:52 ` Ville Syrjälä 2021-03-19 8:24 ` [PATCH 05/19] drm/nouveau/nvkm/subdev/volt/gk20a: Demote non-conformant kernel-doc headers Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 9:55 ` Karol Herbst 2021-03-19 9:55 ` Karol Herbst 2021-03-19 9:55 ` [Nouveau] " Karol Herbst 2021-03-19 8:24 ` [PATCH 06/19] drm/amd/display/dc/calcs/dce_calcs: Move some large variables from the stack to the heap Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 18:13 ` Alex Deucher 2021-03-19 18:13 ` Alex Deucher 2021-03-19 18:13 ` Alex Deucher 2021-03-19 18:26 ` Harry Wentland 2021-03-19 18:26 ` Harry Wentland 2021-03-19 18:26 ` Harry Wentland 2021-03-19 18:31 ` Alex Deucher 2021-03-19 18:31 ` Alex Deucher 2021-03-19 18:31 ` Alex Deucher 2021-03-19 18:46 ` Christian König 2021-03-19 18:46 ` Christian König 2021-03-19 18:46 ` Christian König 2021-03-19 19:31 ` Alex Deucher 2021-03-19 19:31 ` Alex Deucher 2021-03-19 19:31 ` Alex Deucher 2021-03-19 8:24 ` [PATCH 07/19] drm/amd/display/dc/calcs/dce_calcs: Remove some large variables from the stack Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-20 20:38 ` kernel test robot 2021-03-20 20:39 ` [PATCH] drm/amd/display/dc/calcs/dce_calcs: fix noderef.cocci warnings kernel test robot 2021-03-19 8:24 ` [PATCH 08/19] drm/amd/display/dc/dce80/dce80_resource: Make local functions static Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 18:24 ` Alex Deucher 2021-03-19 18:24 ` Alex Deucher 2021-03-19 18:24 ` Alex Deucher 2021-03-19 18:25 ` Harry Wentland 2021-03-19 18:25 ` Harry Wentland 2021-03-19 18:25 ` Harry Wentland 2021-03-19 8:24 ` [PATCH 09/19] drm/nouveau/nvkm/engine/gr/gf100: Demote non-conformant kernel-doc header Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 9:55 ` Karol Herbst 2021-03-19 9:55 ` Karol Herbst 2021-03-19 9:55 ` [Nouveau] " Karol Herbst 2021-03-19 8:24 ` [PATCH 10/19] drm/nouveau/nouveau_bo: Remove unused variables 'dev' Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 9:56 ` Karol Herbst 2021-03-19 9:56 ` Karol Herbst 2021-03-19 9:56 ` [Nouveau] " Karol Herbst 2021-03-19 8:24 ` [PATCH 11/19] drm/nouveau/nouveau_display: Remove set but unused variable 'width' Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 8:24 ` [PATCH 12/19] drm/nouveau/dispnv04/crtc: Demote non-conforming kernel-doc headers Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 9:57 ` Karol Herbst 2021-03-19 9:57 ` Karol Herbst 2021-03-19 9:57 ` [Nouveau] " Karol Herbst 2021-03-19 8:24 ` [PATCH 13/19] drm/nouveau/dispnv50/disp: Remove unused variable 'ret' from function returning void Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 8:24 ` [PATCH 14/19] drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 9:58 ` Karol Herbst 2021-03-19 9:58 ` Karol Herbst 2021-03-19 9:58 ` [Nouveau] " Karol Herbst 2021-03-19 17:36 ` Lyude Paul 2021-03-19 17:36 ` Lyude Paul 2021-03-19 17:36 ` [Nouveau] " Lyude Paul 2021-03-19 8:24 ` [PATCH 15/19] drm/nouveau/nv50_display: Remove superfluous prototype for local static functions Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 9:56 ` Karol Herbst 2021-03-19 9:56 ` Karol Herbst 2021-03-19 9:56 ` [Nouveau] " Karol Herbst 2021-03-19 8:24 ` [PATCH 16/19] drm/nouveau/dispnv50/disp: Include header containing our prototypes Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 8:24 ` [PATCH 17/19] drm/nouveau/nouveau_ioc32: File headers are not good candidates for kernel-doc Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 9:57 ` Karol Herbst 2021-03-19 9:57 ` Karol Herbst 2021-03-19 9:57 ` [Nouveau] " Karol Herbst 2021-03-19 8:24 ` [PATCH 18/19] drm/nouveau/nouveau_svm: Remove unused variable 'ret' from void function Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 8:24 ` [PATCH 19/19] drm/nouveau/nouveau_ioc32: Demote kernel-doc abuse to standard comment block Lee Jones 2021-03-19 8:24 ` Lee Jones 2021-03-19 8:24 ` [Nouveau] " Lee Jones 2021-03-19 9:57 ` Karol Herbst 2021-03-19 9:57 ` Karol Herbst 2021-03-19 9:57 ` [Nouveau] " Karol Herbst 2021-03-24 10:36 ` [RESEND 00/19] Rid GPU from W=1 warnings Lee Jones 2021-03-24 10:36 ` Lee Jones 2021-03-24 10:36 ` Lee Jones 2021-03-24 10:36 ` [Nouveau] " Lee Jones 2021-03-30 15:19 ` Lee Jones 2021-03-30 15:19 ` Lee Jones 2021-03-30 15:19 ` Lee Jones 2021-03-30 15:19 ` [Nouveau] " Lee Jones
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210319082428.3294591-4-lee.jones@linaro.org \ --to=lee.jones@linaro.org \ --cc=airlied@linux.ie \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=freedreno@lists.freedesktop.org \ --cc=khsieh@codeaurora.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=robdclark@gmail.com \ --cc=sean@poorly.run \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.