staging: wilc1000: remove redundant initialization of variable
authorHari Prasath Gujulan Elango <hgujulan@visteon.com>
Mon, 22 Jun 2015 07:03:06 +0000 (07:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Jul 2015 02:25:05 +0000 (19:25 -0700)
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>
drivers/staging/wilc1000/coreconfigurator.c

index 67cffc3c9b94614bc1139ccf4e9b91afbd2a6be6..eb685fea2cd26f705751a8fef94432755f004658 100644 (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);
 
This page took 0.0422439999999999 seconds and 5 git commands to generate.