From be00ac35c70af23434da777befa43d99b1a7df5e Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Fri, 2 May 2025 21:00:20 -0700 Subject: [PATCH] Kill vmclock_remove compat hack It's cleaned up through devres anyway now so there's no need for compat with the old .remove method. Signed-off-by: David Woodhouse --- ptp_vmclock.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ptp_vmclock.c b/ptp_vmclock.c index 1678209..7dbc46e 100644 --- a/ptp_vmclock.c +++ b/ptp_vmclock.c @@ -437,15 +437,6 @@ static void vmclock_remove(void *data) misc_deregister(&st->miscdev); } -#if LINUX_VERSION_CODE < KERNEL_VERSION(6,11,0) -static int vmclock_remove_old(struct platform_device *pdev) -{ - vmclock_remove(pdev); - return 0; -} -#define vmclock_remove vmclock_remove_old -#endif - static acpi_status vmclock_acpi_resources(struct acpi_resource *ares, void *data) { struct vmclock_state *st = data; -- 2.51.0