From b1ad55e64c5beea4440b4b70cdf26e8258cbf58c Mon Sep 17 00:00:00 2001 From: Ashvini Varatharaj Date: Tue, 22 Oct 2013 16:04:48 +0530 Subject: [PATCH] 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 --- drivers/staging/winbond/core.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/winbond/core.h b/drivers/staging/winbond/core.h index 270e8a1..fc0ef24 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; }; -- 2.7.4