OSDN Git Service

staging: wilc1000: wilc_wfi_cfgoperations: Remove useless initialisation
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Thu, 15 Oct 2015 08:18:29 +0000 (13:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 04:57:25 +0000 (21:57 -0700)
commitbaba7c743a91da1fa5946da98ce86eddfe81a5fb
treeb5cca2845891d7fc0c7f508f859a8a4f8fcbb9b2
parent23fba59de00aeeb587db16b450aea7c497cde8ed
staging: wilc1000: wilc_wfi_cfgoperations: Remove useless initialisation

Remove intialisation of a variable that is immediately reassigned.

The semantic patch used to find this is:

// <smpl>
@@
type T;
identifier x;
constant C;
expression e;
@@

T x
- = C
 ;
x = e;
// </smpl>

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c