1
0
Fork 0
alistair23-linux/drivers/staging/silicom/bypasslib
Joel Porquet c1ad28a399 staging: silicom/bypasslib/bp_ioctl.h: Fix erroneous global variable definitions
Originally, this header was defining two new typedefs, CMND_TYPE and
CMND_TYPE_SD, following this type of declaration:

typedef enum {
	...
} CMND_TYPE;

A previous commit (785086556a) tried to
fix warnings that were pointed out by checkpatch.pl, concerning not
adding new typedefs. But this commit only removed the 'typedef' keyword,
thus transforming both the typedefs into two the definition of global
variables. For example:

enum {
	...
} CMND_TYPE;

As noticed by the Sparse tool, this patch removes those erroneous global
variable definitions, and just leaves anonymous enum type definitions:

enum {
	...
};

Signed-off-by: Joel Porquet <joel@porquet.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-26 10:36:07 -07:00
..
Makefile
bp_ioctl.h staging: silicom/bypasslib/bp_ioctl.h: Fix erroneous global variable definitions 2014-05-26 10:36:07 -07:00
bplibk.h Staging: silicom: remove the EXPORT_SYMBOL_NOVERS macro 2013-06-17 14:31:09 -07:00
bypass.c Staging: Silicom: bpctl_mod.c & bypass.c: Adding blank lines 2014-05-26 10:30:23 -07:00
libbp_sd.h staging: silicom: 80 character and tab formatting in libbp_sd.h 2014-03-08 19:48:41 -08:00