]> git.ipfire.org Git - thirdparty/linux.git/commit
ACPI: x86: s2idle: Remove dead code in lps0_device_attach()
authorGergo Koteles <soyer@irl.hu>
Fri, 9 Jan 2026 00:16:19 +0000 (01:16 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 22 Jan 2026 20:46:08 +0000 (21:46 +0100)
commitde69a0875324c72b9fc78503f6852ea1e380f5f7
treeb98586bb2582aaac72df4140867e89e0be8d3097
parenta00e771c2261e566ebb244342a4172ff2e94b031
ACPI: x86: s2idle: Remove dead code in lps0_device_attach()

The rev_id is always 0 for AMD since commit
e32d546483a2 ("ACPI: x86: Drop quirk for HP Elitebook"),
so this condition will never be true.

Remove the dead code.

Signed-off-by: Gergo Koteles <soyer@irl.hu>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/20260109001619.37532-1-soyer@irl.hu
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c