]> git.itanic.dy.fi Git - linux-stable/commit
platform/x86: int3472/discrete: Drop unnecessary obj->type == string check
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Feb 2023 11:02:23 +0000 (12:02 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 6 Feb 2023 13:46:02 +0000 (14:46 +0100)
commit23d18a20723b115460014a92c4e9ce631d6455c5
tree47d599d694b8d9b3496c231a1d4d6191b15dc71d
parent42684d44a7f211d1c1ca64737dfc00470e5fa4a3
platform/x86: int3472/discrete: Drop unnecessary obj->type == string check

acpi_evaluate_dsm_typed() already verifies the type is the requested type,
so this error check is a no-op, drop it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230204110223.54625-1-hdegoede@redhat.com
drivers/platform/x86/intel/int3472/discrete.c