diff options
| author | Colin Ian King <[email protected]> | 2024-10-14 13:05:22 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-10-24 15:42:12 +0000 |
| commit | f8dc4394fc51ceb6c18a68c38fb41d9bc5f1ec63 (patch) | |
| tree | 20d923b866ec20ef463076cadfa44a649fbed9c9 /drivers/acpi/cppc_acpi.c | |
| parent | Linux 6.12-rc4 (diff) | |
| download | kernel-f8dc4394fc51ceb6c18a68c38fb41d9bc5f1ec63.tar.gz kernel-f8dc4394fc51ceb6c18a68c38fb41d9bc5f1ec63.zip | |
ACPI: pfr_telemetry: remove redundant error check on ret
The variable ret is initialized to zero and a littler later in
the PFRT_LOG_IOC_GET_INFO case of a switch statement is being checked
for negative error value. Since ret has not been re-assigned since
the initialization ret can never be less than zero so the check is
redundant and can be removed. Remove it.
Signed-off-by: Colin Ian King <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
