]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: wilc1000: wilc_wfi_cfgoperations: Remove unused code
authorShivani Bhardwaj <shivanib134@gmail.com>
Tue, 13 Oct 2015 09:48:38 +0000 (15:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 17:07:06 +0000 (10:07 -0700)
commit6bd7e5668644424cb70be79ecde4033e1ae123a2
tree40c11ec82b84b7828b6cee032276781515340cbe
parent3bffac68bfd76f1e94e0c6efff143ace80f90c0b
Staging: wilc1000: wilc_wfi_cfgoperations: Remove unused code

Remove the declaration, initialization and statement having a
variable that is not used anywhere in the code.
Semantic patch used:

@@
type T;
identifier i;
constant C;
position p != e.p;
@@

- T i@p;
  <+... when != i
- i = C;
  ...+>

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c