From e47c24189203bdde0576b1ee3934cb7cb316531f Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 6 Nov 2002 14:29:27 +0000 Subject: [PATCH] There's no need for a locally defined usb_proc_t when we've got usb_proc_ptr that does the same thing. --- sys/dev/usb/ufm.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/sys/dev/usb/ufm.c b/sys/dev/usb/ufm.c index 16859d58adc6..80178b433a17 100644 --- a/sys/dev/usb/ufm.c +++ b/sys/dev/usb/ufm.c @@ -76,17 +76,10 @@ SYSCTL_INT(_hw_usb_ufm, OID_AUTO, debug, CTLFLAG_RW, #define DPRINTFN(n,x) #endif -#ifdef __FreeBSD_version -typedef d_thread_t usb_proc_t; -#else -typedef struct proc usb_proc_t; -#endif - #if defined(__NetBSD__) || defined(__OpenBSD__) -typedef struct proc usb_proc_t; -int ufmopen(dev_t, int, int, struct proc *); -int ufmclose(dev_t, int, int, struct proc *p); -int ufmioctl(dev_t, u_long, caddr_t, int, struct proc *); +int ufmopen(dev_t, int, int, usb_proc_ptr); +int ufmclose(dev_t, int, int, usb_proc_ptr); +int ufmioctl(dev_t, u_long, caddr_t, int, usb_proc_ptr); cdev_decl(ufm); #elif defined(__FreeBSD__)