diff options
| author | Paul E. McKenney <[email protected]> | 2025-04-24 19:36:19 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2025-05-08 23:13:27 +0000 |
| commit | ba575cea29fd82a0e6836fefcd51db36f1ff8a92 (patch) | |
| tree | 4c990b1f7e3178dd029c98927822d84cd85336f5 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | ratelimit: Use nolock_ret restructuring to collapse common case code (diff) | |
| download | kernel-ba575cea29fd82a0e6836fefcd51db36f1ff8a92.tar.gz kernel-ba575cea29fd82a0e6836fefcd51db36f1ff8a92.zip | |
ratelimit: Drop redundant accesses to burst
Now that there is the "burst <= 0" fastpath, for all later code, burst
must be strictly greater than zero. Therefore, drop the redundant checks
of this local variable.
Link: https://lore.kernel.org/all/fbe93a52-365e-47fe-93a4-44a44547d601@paulmck-laptop/
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Kuniyuki Iwashima <[email protected]>
Cc: Mateusz Guzik <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: John Ogness <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
