diff options
| author | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2023-11-24 17:30:34 +0000 |
|---|---|---|
| committer | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2023-11-24 17:31:33 +0000 |
| commit | 16b13bd3fd63be56653296ba54956f5526918445 (patch) | |
| tree | 12f6dac7ddb17a080877fa9e47cea7aa5704bb76 | |
| parent | 162a2b858854656ddd6b75d290be8a640ba8f324 (diff) | |
| -rw-r--r-- | sys/dev/vt/vt_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c index 3e4db9a1ba30..bfd99665be4a 100644 --- a/sys/dev/vt/vt_core.c +++ b/sys/dev/vt/vt_core.c @@ -579,8 +579,6 @@ vt_window_switch(struct vt_window *vw) * debugger entry/exit to be equivalent to * successfully try-locking here. */ - if (curvw == vw) - return (0); if (!(vw->vw_flags & (VWF_OPENED|VWF_CONSOLE))) { inside_vt_window_switch = false; return (EINVAL); |
