OSDN Git Service

staging: vt6556: Remove typedefs
authorPeter Senna Tschudin <peter.senna@gmail.com>
Wed, 16 Jul 2014 16:13:43 +0000 (18:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:30:32 +0000 (13:30 -0700)
commit879be45aeaa433daa5b848e5c3bc66f85ed6bf4a
treebb8d4654651864a4b5d4ae0c60bc8f72cf09a090
parent91d421945b02c8ac611481c3ec1008d30ecb9b5f
staging: vt6556: Remove typedefs

This patch removes uneeded typedefs reported by chackpatch and removes
one enum that is not in use. As checkpatch complained about the typedef
and the enum is not being used, this patch removes both typedef and enum.
The removed enum from card.h:

typedef enum _CARD_PHY_TYPE {
    PHY_TYPE_AUTO = 0,
    PHY_TYPE_11B,
    PHY_TYPE_11G,
    PHY_TYPE_11A
} CARD_PHY_TYPE, *PCARD_PHY_TYPE;

The following typedefs were removed, but enums were kept at device.h:

 typedef enum __device_msg_level
 typedef enum __DEVICE_NDIS_STATUS

Tested by compilation only.

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.h
drivers/staging/vt6656/device.h