[PATCH xserver 2/2] kdrive: Nuke a bunch of dead code

Julien Cristau jcristau at debian.org
Fri Apr 29 15:18:59 UTC 2016


On Fri, Apr 29, 2016 at 11:16:08 -0400, Adam Jackson wrote:

> On Fri, 2016-04-29 at 17:01 +0200, Julien Cristau wrote:
> > On Fri, Apr 29, 2016 at 10:53:22 -0400, Adam Jackson wrote:
> > 
> > > gcc6 says:
> > > 
> > > keyboard.c:46:21: warning: ‘linux_to_x’ defined but not used
> > > 
> > > Only referenced by a bunch of long if-0'd code, so chuck it all out.
> > > 
> > > Signed-off-by: Adam Jackson <ajax at redhat.com>
> > > ---
> > >  hw/kdrive/linux/keyboard.c | 441 ---------------------------------------------
> > >  1 file changed, 441 deletions(-)
> > > 
> > Reviewed-by: Julien Cristau <jcristau at debian.org>
> 
> Any chance that can apply to 1/2 as well?
> 
Yes.  Yes you can.

Cheers,
Julien


More information about the xorg-devel mailing list