]> git.baikalelectronics.ru Git - kernel.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)
commit4445019899fb5497f4f9209aea09997d105d124f
tree40c11ec82b84b7828b6cee032276781515340cbe
parent84b7408b20b257ccafe80cd85f3779abee8d7077
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