diff options
| author | Joe Perches <[email protected]> | 2017-06-29 08:42:00 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-07-16 08:40:58 +0200 |
| commit | d4e25108bb20e0294f7e8bcd478a8ff20e5b269f (patch) | |
| tree | 37cc607d45bab9304c226bec7aa33e4891e2a79d /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 55c0698a2c156fa27f04c6d602b43dca1ce9283e (diff) | |
staging: wilc1000: Neaten refresh_scan - remove always 1 argument
All uses of refresh_scan() have a constant 1 as the second argument.
Remove it and neaten the function declaration.
Miscellanea:
o Remove overly deep indentation by using continue;
o Remove unnecessary test of the address of a static array as it's
always non-zero
o Rename and use proper type for the first void * argument as it's
always the struct wilc_priv *
o Move variables into loop where used
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions