diff options
| author | Rehas Sachdeva <[email protected]> | 2016-09-20 19:40:14 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-09-22 11:54:47 +0200 |
| commit | cf5d32736722a1abf00c432241a5477c09cd4db2 (patch) | |
| tree | 49803ce3aa1511dac048b6fc32cbe32e089a9492 /tools/perf/scripts/python | |
| parent | 3adc4aae0e597a7cdcb9ed3f99d0933bf9a4aaa6 (diff) | |
staging: xgifb: Remove unused variable and if statement
Setting the variable 'refresh_rate = 60;' has no use to the rest of the
function. Hence the if statement setting it and the variable itself can be
removed. This was detected using the following Coccinelle semantic patch:
@@
type T;
identifier i;
constant C;
@@
(
extern T i;
|
- T i;
<+... when != i
- i = C;
...+>
)
Signed-off-by: Rehas Sachdeva <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions