diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-02-06 18:43:27 +0100 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-02-13 16:46:39 +0100 |
| commit | f8278c7d74c6b92b3dbbd6636d6e8917d6050378 (patch) | |
| tree | f4d4e8f3d083ffce56cfe13d99a5e32368eff793 /hw/char/omap_uart.c | |
| parent | 64c3f266dd14d62886b4a51f6bfce49ac14620fa (diff) | |
| download | focaccia-qemu-f8278c7d74c6b92b3dbbd6636d6e8917d6050378.tar.gz focaccia-qemu-f8278c7d74c6b92b3dbbd6636d6e8917d6050378.zip | |
char-pty: remove the check for connection on write
This doesn't help much compared to the 1 second poll PTY timer. I can't think of a use case where this would help. However, we can simplify the code around chr_write(): the write lock is no longer needed for other char-pty callbacks (see following patch). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20190206174328.9736-6-marcandre.lureau@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/char/omap_uart.c')
0 files changed, 0 insertions, 0 deletions