Skip to content

Commit f0f47de

Browse files
committed
Merge branch 'thermal-intel' into linux-next
* thermal-intel: thermal: intel: int340x: Remove redundant acpi_has_method() call
2 parents 4480275 + 3d9ab61 commit f0f47de

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,6 @@ static int acpi_parse_psvt(acpi_handle handle, int *psvt_count, struct psvt **ps
220220
int i, result = 0;
221221
struct psvt *psvts;
222222

223-
if (!acpi_has_method(handle, "PSVT"))
224-
return -ENODEV;
225-
226223
status = acpi_evaluate_object(handle, "PSVT", NULL, &buffer);
227224
if (ACPI_FAILURE(status))
228225
return -ENODEV;

0 commit comments

Comments
 (0)