diff options
| author | Juergen Gross <jgross@suse.com> | 2025-09-29 13:29:45 +0200 |
|---|---|---|
| committer | Peter Zijlstra <peterz@infradead.org> | 2025-10-14 10:38:11 +0200 |
| commit | ad74016b919cbad78d203fa1c459ae18e73ce586 (patch) | |
| tree | 01398cabf3da7046b936d3abd87078fa5ececbc0 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | 3a8660878839faadb4f1a6dd72c3179c1df56787 (diff) | |
x86/alternative: Drop not needed test after call of alt_replace_call()
alt_replace_call() will never return a negative value, so testing the
return value to be less than zero can be dropped.
This makes it possible to switch the return type of alt_replace_call()
and the type of insn_buff_sz to unsigned int.
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
