Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1385934

Re: [PATCH] drm: msm: remove unused variable

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] drm: msm: remove unused variable
Date 2016-04-25 00:20 +0200
Message-ID <rrAxI-3k6-7@gated-at.bofh.it> (permalink)
References <roFkd-10c-3@gated-at.bofh.it> <roFkd-10c-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Saturday 16 April 2016 16:49:08 Rob Clark wrote:
> On Sat, Apr 16, 2016 at 4:41 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> > A recent cleanup removed the only user of the 'kms' variable in
> > msm_preclose(), causing a harmless compiler warning:
> >
> > drivers/gpu/drm/msm/msm_drv.c: In function 'msm_preclose':
> > drivers/gpu/drm/msm/msm_drv.c:468:18: error: unused variable 'kms' [-Werror=unused-variable]
> >
> > This removes the variable as well.
> >
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > Fixes: 4016260ba47a ("drm/msm: fix bug after preclose removal")
> 
> thanks, I'll pull that in for 4.7.. danvet actually pointed that out
> to me yesterday (a needed fix of a fix.. ;-))

I just realized that this is now the only defconfig warning we get in v4.6 with
a recent compiler. Any chance we can still squeeze this in the current release?

	Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] drm: msm: remove unused variable Rob Clark <robdclark@gmail.com> - 2016-04-16 22:50 +0200
  Re: [PATCH] drm: msm: remove unused variable Arnd Bergmann <arnd@arndb.de> - 2016-04-25 00:20 +0200
    Re: [PATCH] drm: msm: remove unused variable Rob Clark <robdclark@gmail.com> - 2016-04-25 13:50 +0200

csiph-web