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:
Hari Prasath Gujulan Elango 2015-06-22 07:03:06 +00:00 committed by Greg Kroah-Hartman
parent 6608a38c66
commit ab6ebe3a4b

View File

@ -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);