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:
parent
e782099404
commit
00e3c12e03
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user