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.
This commit is contained in:
Marcel Moolenaar 2003-09-28 18:20:42 +00:00
parent bec725403c
commit 6dcf0a53d2

View File

@ -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,
};