diff options
| author | yuan linyu <[email protected]> | 2018-04-08 19:36:31 +0800 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2018-07-03 18:23:33 -0400 |
| commit | f26808ba7227a921e0e8549c7d3c52332b920085 (patch) | |
| tree | 699f09c2967d89edbcdc522102019240a90c3c0d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | f90658725ba7ebb031054866aff4cda0d099a3b1 (diff) | |
tracing: Optimize trace_buffer_iter() logic
Simplify and optimize the logic in trace_buffer_iter() to use a conditional
operation instead of an if conditional.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: yuan linyu <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions