From: Hari Prasath Gujulan Elango Date: Mon, 22 Jun 2015 07:03:06 +0000 (+0000) Subject: staging: wilc1000: remove redundant initialization of variable X-Git-Tag: v4.3-rc1~158^2~776 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ab6ebe3a4b1ff9e37c2b7d12da7f985125dfab55;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 67cffc3c9b94..eb685fea2cd2 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -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);