aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/ums.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 19:42:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-02-21 19:42:58 +0000
commitc9c7976f7ffdd0ed81e12d8930651a9a858defa1 (patch)
treec4705f5f800de96d25d8356b2711c664dabcd41e /sys/dev/usb/ums.c
parent7563a29b8566c3c862a995022e62a54b6c3faa6b (diff)
downloadsrc-c9c7976f7ffdd0ed81e12d8930651a9a858defa1.tar.gz
src-c9c7976f7ffdd0ed81e12d8930651a9a858defa1.zip
Device megapatch 1/6:
Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number.
Notes
Notes: svn path=/head/; revision=126076
Diffstat (limited to 'sys/dev/usb/ums.c')
-rw-r--r--sys/dev/usb/ums.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index dea1e0b8f827..4c0d598045da 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -152,7 +152,6 @@ Static d_read_t ums_read;
Static d_ioctl_t ums_ioctl;
Static d_poll_t ums_poll;
-#define UMS_CDEV_MAJOR 111
Static struct cdevsw ums_cdevsw = {
.d_open = ums_open,
@@ -161,7 +160,6 @@ Static struct cdevsw ums_cdevsw = {
.d_ioctl = ums_ioctl,
.d_poll = ums_poll,
.d_name = "ums",
- .d_maj = UMS_CDEV_MAJOR,
#if __FreeBSD_version < 500014
.d_bmaj -1
#endif