mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 23:20:32 -04:00
staging: wilc1000: remove redundant initialization of variable
This patch removes the redundant initialization of the variable 'st' as it is reassigned a new value before its being used anywhere else. Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6608a38c66
commit
ab6ebe3a4b
@@ -605,7 +605,7 @@ INLINE u16 get_cap_info(u8 *data)
|
||||
{
|
||||
u16 cap_info = 0;
|
||||
u16 index = MAC_HDR_LEN;
|
||||
tenuFrmSubtype st = BEACON;
|
||||
tenuFrmSubtype st;
|
||||
|
||||
st = get_sub_type(data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user