diff options
| author | Chris Wilson <[email protected]> | 2017-09-13 11:57:54 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-09-13 13:27:20 +0100 |
| commit | e60b36f76c2ee0ba90b431daa534bc262798fb26 (patch) | |
| tree | 43d88e83c018254953a7d52af50027b639090aee /tools/perf/scripts/python | |
| parent | ada8c4139fbad766fdf9e63b31c49874299fd60c (diff) | |
drm/i915: Squelch smatch warning for statement with no effect
The sgt iterators cause an
drivers/gpu/drm/i915/i915_gpu_error.c:846 i915_error_object_create() warn: statement has no effect 7
everywhere they are used. If we change the code slightly, we can achieve
the same increment without altering the output or raising a warning.
text data bss dec hex filename
1267906 20587 3168 1291661 13b58d before
1267906 20587 3168 1291661 13b58d after
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions