git: 48b6e01db65f - main - kvm_clock: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:25:27 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=48b6e01db65f4bf3967f03b1ff0958099433234b commit 48b6e01db65f4bf3967f03b1ff0958099433234b Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:58 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:58 +0000 kvm_clock: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/kvm_clock/kvm_clock.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/kvm_clock/kvm_clock.c b/sys/dev/kvm_clock/kvm_clock.c index 747b98c4f173..e6b991ba0f77 100644 --- a/sys/dev/kvm_clock/kvm_clock.c +++ b/sys/dev/kvm_clock/kvm_clock.c @@ -73,8 +73,6 @@ struct kvm_clock_softc { u_int msr_wc; }; -static devclass_t kvm_clock_devclass; - static struct pvclock_wall_clock *kvm_clock_get_wallclock(void *arg); static void kvm_clock_system_time_enable(struct kvm_clock_softc *sc); static void kvm_clock_system_time_enable_pcpu(void *arg); @@ -263,4 +261,4 @@ static driver_t kvm_clock_driver = { sizeof(struct kvm_clock_softc), }; -DRIVER_MODULE(kvm_clock, nexus, kvm_clock_driver, kvm_clock_devclass, 0, 0); +DRIVER_MODULE(kvm_clock, nexus, kvm_clock_driver, 0, 0);