staging: ath6kl: remove-typedef AR6000_USER_SETKEYS_INFO
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 11 Mar 2011 02:55:34 +0000 (18:55 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Mar 2011 22:31:48 +0000 (14:31 -0800)
remove-typedef -s AR6000_USER_SETKEYS_INFO \
"struct ar6000_user_setkeys_info" drivers/staging/ath6kl/

Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/include/athdrv_linux.h

index 5a6c27e9aa5ad9dc9e12d11620ffaf9d1b502ef0..66817c2c5022e5cf6f136128dbb960b2bc2894ef 100644 (file)
@@ -625,7 +625,7 @@ typedef enum {
  * arguments:
  * UINT32 cmd (AR6000_XIOCTL_USER_SETKEYS)
  * UINT32 keyOpCtrl
- * uses AR6000_USER_SETKEYS_INFO
+ * uses struct ar6000_user_setkeys_info
  */
 #define AR6000_XIOCTL_USER_SETKEYS                      58
 #endif /* USER_KEYS */
@@ -1098,10 +1098,9 @@ typedef struct targetStats_cmd_t {
 #define AR6000_XIOCTL_USER_SETKEYS_RSC_CTRL    1
 #define AR6000_USER_SETKEYS_RSC_UNCHANGED     0x00000002
 
-typedef struct {
+struct ar6000_user_setkeys_info {
     u32 keyOpCtrl;  /* Bit Map of Key Mgmt Ctrl Flags */
-} AR6000_USER_SETKEYS_INFO;
-
+}; /* XXX: unused !? */
 
 /* used by AR6000_XIOCTL_GPIO_OUTPUT_SET */
 struct ar6000_gpio_output_set_cmd_s {