platform/x86: amd-pmc: Drop check for valid alarm time
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 26 Oct 2021 17:14:43 +0000 (12:14 -0500)
committerHans de Goede <hdegoede@redhat.com>
Wed, 27 Oct 2021 14:07:28 +0000 (16:07 +0200)
commit9587f39277ef799ab3be7bb04b191bdf1a3e697a
treea59c45f2d462291344ac7c5170e773deb903e947
parent16a035a314060c4b12f70284302df448feb11bec
platform/x86: amd-pmc: Drop check for valid alarm time

This is already checked when calling rtc_read_alarm.

Suggested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20211026171443.289-3-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd-pmc.c