aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2025-07-08 15:18:05 +0000
committerCorey Minyard <[email protected]>2025-07-08 17:15:44 +0000
commitf6f9760320a93930e70ad6016afbabc475bcdd09 (patch)
tree435514e7cd889624854211e0c08722956728a533 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
parentipmi: Fix strcpy source and destination the same (diff)
downloadkernel-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_acpi.c')
0 files changed, 0 insertions, 0 deletions