Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/kern



Module Name:    src
Committed By:   riastradh
Date:           Fri Feb 17 23:13:01 UTC 2023

Modified Files:
        src/sys/kern: tty.c

Log Message:
ttycheckoutq(9): wait is always 0.  Assert it; prune dead branches.

There appear to have been no callers with wait=1 since NetBSD 1.0
from a cursory search.  Let's nix the parameter altogether on the
next kernel revbump.  This logic is probably broken anyway in the
presence of ttycancel, which is necessary for, e.g., yanking USB
serial adapters.


To generate a diff of this commit:
cvs rdiff -u -r1.307 -r1.308 src/sys/kern/tty.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index