summaryrefslogtreecommitdiff
path: root/drivers/tty/hvc/hvc_xen.c
diff options
context:
space:
mode:
authorJoel Porquet <joel@porquet.org>2014-05-26 18:07:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-26 10:36:07 -0700
commitc1ad28a3995da1e8300d29ac01fd3757c8dfadfc (patch)
tree1fba58e884b329315865f877d7215b2f56609d4c /drivers/tty/hvc/hvc_xen.c
parenta66369a59016e6f5c5da77afbd53eec49b03fb68 (diff)
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 (785086556a573f07747b3633732a9dbd7e45728f) 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>
Diffstat (limited to 'drivers/tty/hvc/hvc_xen.c')
0 files changed, 0 insertions, 0 deletions