diff options
author | marcel <marcel@FreeBSD.org> | 2003-09-28 18:20:42 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-09-28 18:20:42 +0000 |
commit | 184a5c6d6515c512601948f88c75a8e3ce1bf3c4 (patch) | |
tree | 80608ff0de38bf76995b3ba21d4b1ec8dbd4125f /sys/dev/uart | |
parent | 9c75463c3477da5807dfd4e72a70f6f43442b17f (diff) | |
download | FreeBSD-src-184a5c6d6515c512601948f88c75a8e3ce1bf3c4.zip FreeBSD-src-184a5c6d6515c512601948f88c75a8e3ce1bf3c4.tar.gz |
Don't explicitly initialize d_maj in the cdevsw with MAJOR_AUTO, as
per the intentions of conf.h, rev 1.176. This change is a no-op as
MAJOR_AUTO equals to 0.
Diffstat (limited to 'sys/dev/uart')
-rw-r--r-- | sys/dev/uart/uart_tty.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c index 172308d..fd2e59e 100644 --- a/sys/dev/uart/uart_tty.c +++ b/sys/dev/uart/uart_tty.c @@ -74,7 +74,6 @@ static struct cdevsw uart_cdevsw = { .d_ioctl = uart_tty_ioctl, .d_poll = ttypoll, .d_name = uart_driver_name, - .d_maj = MAJOR_AUTO, .d_flags = D_TTY, .d_kqfilter = ttykqfilter, }; |