Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <ashvinivaratharaj@gmail.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ashvini Varatharaj and committed by
Greg Kroah-Hartman
b1ad55e6 f68cae40

-4
-4
drivers/staging/winbond/core.h
··· 52 52 struct hw_data sHwData; /*For HAL */ 53 53 struct wb35_mds Mds; 54 54 55 - atomic_t thread_count; 56 - 57 55 u32 RxByteCount; 58 56 u32 TxByteCount; 59 - 60 - u8 link_name[WB_MAX_LINK_NAME_LEN]; 61 57 62 58 bool enabled; 63 59 };