mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
Remove unneeded and #if 0'ed code to register in cdevsw[]
This commit is contained in:
parent
9607027339
commit
b8ea5f7f0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85981
@ -248,19 +248,6 @@ promtimeout(v)
|
||||
promtimeouthandle = timeout(promtimeout, tp, polltime);
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
prom_modevent(module_t mod, int type, void *data)
|
||||
{
|
||||
if (type == MOD_LOAD) {
|
||||
cdevsw_add(&prom_cdevsw);
|
||||
return(0);
|
||||
}
|
||||
return (EOPNOTSUPP);
|
||||
}
|
||||
DEV_MODULE(prom, prom_modevent, 0);
|
||||
#endif
|
||||
|
||||
CONS_DRIVER(prom, NULL, NULL, NULL, promcngetc, promcncheckc, promcnputc, NULL);
|
||||
|
||||
static int promcn_attached = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user