In syscall_module_handler(): all switch branches return, remove

unreached code as pointed out in a Chinese forum [1].

[1] http://www.freebsdchina.org/forum/viewtopic.php?t=50619

Pointed out by:		btw616 <btw s qq com>
MFC after:		1 month
This commit is contained in:
Xin LI 2010-10-21 08:57:25 +00:00
parent e782099404
commit 00e3c12e03
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214125

View File

@ -184,10 +184,7 @@ syscall_module_handler(struct module *mod, int what, void *arg)
return EOPNOTSUPP;
}
if (data->chainevh)
return (data->chainevh(mod, what, data->chainarg));
else
return (0);
/* NOTREACHED */
}
int