summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart/uart_tty.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-09-28 18:20:42 +0000
committermarcel <marcel@FreeBSD.org>2003-09-28 18:20:42 +0000
commit184a5c6d6515c512601948f88c75a8e3ce1bf3c4 (patch)
tree80608ff0de38bf76995b3ba21d4b1ec8dbd4125f /sys/dev/uart/uart_tty.c
parent9c75463c3477da5807dfd4e72a70f6f43442b17f (diff)
downloadFreeBSD-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/uart_tty.c')
-rw-r--r--sys/dev/uart/uart_tty.c1
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,
};
OpenPOWER on IntegriCloud