diff options
| author | Mahati Chamarthy <[email protected]> | 2014-09-27 04:12:28 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-09-28 23:36:24 -0400 |
| commit | 6ab8609b92f1287957ae44c09de37caaf83251e5 (patch) | |
| tree | f96f3101da5efc3acbcf61baf43ec0b611b42972 /tools/perf/scripts/python | |
| parent | 5a2da4abe30a05c138acd1c1cf3c08154dfa7847 (diff) | |
Staging: rtl8192e: rtl8192e: Remove assigned unused variable
This patch removes an initialized variable which has never been used.
The following Coccinelle semantic patch was used to make this transformation:
@e@
identifier i;
position p;
type T;
@@
extern T i@p;
@@
type T;
identifier i;
constant C;
position p != e.p;
@@
- T i@p;
<+... when != i
- i = C;
...+>
The braces around if and else which become unnecessary after the transformation
were also removed.
Signed-off-by: Mahati Chamarthy <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions