Remove unneeded variable `ocn_mute'.

Found by:	LLVM's scan-build
This commit is contained in:
ed 2009-02-26 13:01:45 +00:00
parent 4f11d3e937
commit f854be19d0

View File

@ -332,9 +332,7 @@ static int
sysctl_kern_consmute(SYSCTL_HANDLER_ARGS) sysctl_kern_consmute(SYSCTL_HANDLER_ARGS)
{ {
int error; int error;
int ocn_mute;
ocn_mute = cn_mute;
error = sysctl_handle_int(oidp, &cn_mute, 0, req); error = sysctl_handle_int(oidp, &cn_mute, 0, req);
if (error != 0 || req->newptr == NULL) if (error != 0 || req->newptr == NULL)
return (error); return (error);