diff options
| author | 2021-05-05 11:19:21 +0200 | |
|---|---|---|
| committer | 2021-05-13 18:29:11 +0200 | |
| commit | 3d18354248b14a5ffefaa31a43fd0d45a283e97d (patch) | |
| tree | e85227dbf1dbbe7de00ca3b32c8dac8b681d1688 /arch/um/drivers/stdio_console.c | |
| parent | tty: make tty_operations::chars_in_buffer return uint (diff) | |
| download | linux-dev-3d18354248b14a5ffefaa31a43fd0d45a283e97d.tar.xz linux-dev-3d18354248b14a5ffefaa31a43fd0d45a283e97d.zip | |
nozomi: simplify ntty_chars_in_buffer
ntty_chars_in_buffer is overly complicated. Simplify it by inverting the
condition.
Side FIXME: how can dc or port be NULL here?
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210505091928.22010-29-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/um/drivers/stdio_console.c')
0 files changed, 0 insertions, 0 deletions
