From: Ashvini Varatharaj Date: Tue, 22 Oct 2013 10:34:48 +0000 (+0530) Subject: Staging: winbond: removing unused variables thread_count and link_name[] X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b1ad55e64c5beea4440b4b70cdf26e8258cbf58c;p=linux-beck.git Staging: winbond: removing unused variables thread_count and link_name[] 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 Reviewed-by: Peter P Waskiewicz Jr Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/winbond/core.h b/drivers/staging/winbond/core.h index 270e8a19098b..fc0ef24fad3b 100644 --- a/drivers/staging/winbond/core.h +++ b/drivers/staging/winbond/core.h @@ -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; };