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.9.8~3706^2~776 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab6ebe3a4b1ff9e37c2b7d12da7f985125dfab55;p=platform%2Fkernel%2Flinux-rpi3.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 67cffc3c..eb685fe 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);