]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit947163f80c933d9c4d8aeceb21e7cb13d6c2ebc4
treeb5cca2845891d7fc0c7f508f859a8a4f8fcbb9b2
parentbe1e4a91f2bbdf065166c1c9d0d51dc4a2ce2b4f
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