Staging: winbond: removing unused variables thread_count and link_name[]
authorAshvini Varatharaj <ashvinivaratharaj@gmail.com>
Tue, 22 Oct 2013 10:34:48 +0000 (16:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Oct 2013 14:05:59 +0000 (07:05 -0700)
Removing the variable thread_count and link_name[WB_MAX_LINK_NAME_LEN] array
since they are not used elsewhere in the driver

Signed-off-by: Ashvini Varatharaj <ashvinivaratharaj@gmail.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/winbond/core.h

index 270e8a1..fc0ef24 100644 (file)
@@ -52,13 +52,9 @@ struct wbsoft_priv {
        struct hw_data sHwData; /*For HAL */
        struct wb35_mds Mds;
 
-       atomic_t thread_count;
-
        u32 RxByteCount;
        u32 TxByteCount;
 
-       u8 link_name[WB_MAX_LINK_NAME_LEN];
-
        bool enabled;
 };