diff --git a/sys/kern/kern_cons.c b/sys/kern/kern_cons.c index 3930f59c1c34..31df2e883e10 100644 --- a/sys/kern/kern_cons.c +++ b/sys/kern/kern_cons.c @@ -332,9 +332,7 @@ static int sysctl_kern_consmute(SYSCTL_HANDLER_ARGS) { int error; - int ocn_mute; - ocn_mute = cn_mute; error = sysctl_handle_int(oidp, &cn_mute, 0, req); if (error != 0 || req->newptr == NULL) return (error);