Re: [PATCH] Staging:wilc1000 :Remove typedef from struct

From: Greg Kroah-Hartman
Date: Sat Aug 01 2015 - 11:55:54 EST


On Sat, Aug 01, 2015 at 10:25:26AM +0530, Sudip Mukherjee wrote:
> On Fri, Jul 31, 2015 at 01:52:13PM -0700, Greg Kroah-Hartman wrote:
> > On Fri, Jul 31, 2015 at 11:08:47AM +0530, Shraddha Barke wrote:
> > > This patch fixes the following checkpatch.pl warning:
> > >
> > > WARNING: do not add new typedefs
> > >
> > > Signed-off-by: Shraddha Barke <shraddha.6596@xxxxxxxxx>
> > > ---
> <snip>
> > > -typedef enum {
> > > +enum {
> > > CLASS1_FRAME_TYPE = 0x00,
> > > CLASS2_FRAME_TYPE = 0x01,
> > > CLASS3_FRAME_TYPE = 0x02,
> >
> > Did you test-build this change?
> This enum is not used anywhere. So did not affect the build.

Then it should be deleted :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/