From: David Woodhouse Date: Sat, 3 May 2025 04:00:20 +0000 (-0700) Subject: Kill vmclock_remove compat hack X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=be00ac35c70af23434da777befa43d99b1a7df5e;p=users%2Fdwmw2%2Fvmclock.git 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 --- 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;