From 2fe1f6204d38d7d1423802fd525964774dae667c Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 9 Mar 2003 11:03:45 +0000 Subject: Note that MAJOR_AUTO is now the default if d_maj is not initialized. This is more robust and prevents the hijacking of /dev/console for the typical mistake. Remove unneeded MAJOR_AUTO uses, it is only needed explicitly now if the driver source has cross-branch compatibility to old releases. --- sys/netncp/ncp_mod.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/netncp/ncp_mod.c') diff --git a/sys/netncp/ncp_mod.c b/sys/netncp/ncp_mod.c index 889d620..4ef96e8 100644 --- a/sys/netncp/ncp_mod.c +++ b/sys/netncp/ncp_mod.c @@ -68,7 +68,6 @@ static struct cdevsw ncp_cdevsw = { .d_close = nullclose, .d_ioctl = ncp_ioctl, .d_name = "ncp", - .d_maj = MAJOR_AUTO, }; static int ncp_conn_frag_rq(struct ncp_conn *, struct thread *, -- cgit v1.1