diff options
| author | Ville Syrjälä <[email protected]> | 2019-10-10 16:11:58 +0300 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-10 19:39:07 -0500 |
| commit | ff06184a49fde886bcb6150168905e334e22650c (patch) | |
| tree | 22c15420fc3950384e0e7e5eed74ced3671a4fad /tools/perf/scripts/python/stackcollapse.py | |
| parent | 34b86b75dfc90ab3d996c224314ce51772a3b351 (diff) | |
drm/amdgpu/powerplay: Use swap() where appropriate
@swap@
identifier TEMP;
expression A,B;
@@
- TEMP = A;
- A = B;
- B = TEMP;
+ swap(A, B);
@@
type T;
identifier swap.TEMP;
@@
(
- T TEMP;
|
- T TEMP = {...};
)
... when != TEMP
Cc: Rex Zhu <[email protected]>
Cc: Evan Quan <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: "David (ChunMing) Zhou" <[email protected]>
Cc: [email protected]
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions