summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uhid.c')
-rw-r--r--sys/dev/usb/uhid.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index 2451542..ec46474 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -154,7 +154,6 @@ d_write_t uhidwrite;
d_ioctl_t uhidioctl;
d_poll_t uhidpoll;
-#define UHID_CDEV_MAJOR 122
Static struct cdevsw uhid_cdevsw = {
.d_open = uhidopen,
@@ -164,7 +163,6 @@ Static struct cdevsw uhid_cdevsw = {
.d_ioctl = uhidioctl,
.d_poll = uhidpoll,
.d_name = "uhid",
- .d_maj = UHID_CDEV_MAJOR,
#if __FreeBSD_version < 500014
.d_bmaj -1
#endif
OpenPOWER on IntegriCloud