diff options
| author | Colin Ian King <[email protected]> | 2025-07-08 15:18:05 +0000 |
|---|---|---|
| committer | Corey Minyard <[email protected]> | 2025-07-08 17:15:44 +0000 |
| commit | f6f9760320a93930e70ad6016afbabc475bcdd09 (patch) | |
| tree | 435514e7cd889624854211e0c08722956728a533 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | ipmi: Fix strcpy source and destination the same (diff) | |
| download | kernel-f6f9760320a93930e70ad6016afbabc475bcdd09.tar.gz kernel-f6f9760320a93930e70ad6016afbabc475bcdd09.zip | |
char: ipmi: remove redundant variable 'type' and check
The variable 'type' is assigned the value SI_INVALID which is zero
and later checks of 'type' is non-zero (which is always false). The
variable is not referenced anywhere else, so it is redundant and
so is the check, so remove these.
Signed-off-by: Colin Ian King <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
