From: abhinavk@codeaurora.org
To: Souptick Joarder <jrdr.linux@gmail.com>
Cc: robdclark@gmail.com, sean@poorly.run, airlied@linux.ie,
daniel@ffwll.ch, khsieh@codeaurora.org, swboyd@chromium.org,
dmitry.baryshkov@linaro.org, chandanu@codeaurora.org,
tanmay@codeaurora.org, kernel test robot <lkp@intel.com>,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org
Subject: Re: [Freedreno] [PATCH] drm/msm/dp: Remove unused variable
Date: Thu, 08 Jul 2021 20:10:12 -0700 [thread overview]
Message-ID: <63f89dfce0b33d16c3f774e2a1962b03@codeaurora.org> (raw)
In-Reply-To: <20210709024834.29680-1-jrdr.linux@gmail.com>
On 2021-07-08 19:48, Souptick Joarder wrote:
> Kernel test roobot throws below warning ->
>
> drivers/gpu/drm/msm/dp/dp_display.c:1017:21:
> warning: variable 'drm' set but not used [-Wunused-but-set-variable]
>
> Removed unused variable drm.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
> ---
> drivers/gpu/drm/msm/dp/dp_display.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/msm/dp/dp_display.c
> b/drivers/gpu/drm/msm/dp/dp_display.c
> index 051c1be1de7e..d42635a86d20 100644
> --- a/drivers/gpu/drm/msm/dp/dp_display.c
> +++ b/drivers/gpu/drm/msm/dp/dp_display.c
> @@ -1014,10 +1014,8 @@ int dp_display_get_test_bpp(struct msm_dp *dp)
> void msm_dp_snapshot(struct msm_disp_state *disp_state, struct msm_dp
> *dp)
> {
> struct dp_display_private *dp_display;
> - struct drm_device *drm;
>
> dp_display = container_of(dp, struct dp_display_private, dp_display);
> - drm = dp->drm_dev;
>
> /*
> * if we are reading registers we need the link clocks to be on
next prev parent reply other threads:[~2021-07-09 3:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-09 2:48 [PATCH] drm/msm/dp: Remove unused variable Souptick Joarder
2021-07-09 3:10 ` abhinavk [this message]
2021-07-14 21:39 ` Stephen Boyd
2021-08-02 14:46 ` Souptick Joarder
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=63f89dfce0b33d16c3f774e2a1962b03@codeaurora.org \
--to=abhinavk@codeaurora.org \
--cc=airlied@linux.ie \
--cc=chandanu@codeaurora.org \
--cc=daniel@ffwll.ch \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=jrdr.linux@gmail.com \
--cc=khsieh@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=robdclark@gmail.com \
--cc=sean@poorly.run \
--cc=swboyd@chromium.org \
--cc=tanmay@codeaurora.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).