diff options
| author | Joe Perches <[email protected]> | 2012-04-03 14:46:49 -0700 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2012-04-11 16:23:56 -0400 |
| commit | da951c2417ec1020d0d00813da36f38e395994e9 (patch) | |
| tree | 65404e5b7e22c2fbaa8ac0609213404c47b60cf5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 150721894e3613a228e212615909ade14964235c (diff) | |
wireless: Remove unnecessary ; from while (0) macros
Semicolons are not necessary after macros that end in while (0).
Remove them.
Simplify the macros with tests of
do { if (foo>size) memset1; else memset2;} while (0);
to a single line memset(,,min_t(size_t, foo, size))
Signed-off-by: Joe Perches <[email protected]>
Acked-by: Arend van Spriel <[email protected]>
Acked-by: Larry Finger <[email protected]>
Acked-by: Bing Zhao <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions