diff options
author | 2021-05-19 11:20:03 +0200 | |
---|---|---|
committer | 2021-05-21 15:46:08 +0200 | |
commit | 9a8253a7c2da1d78183029a46bf04fb7beb933eb (patch) | |
tree | 69f2213a1eb1261928da31ae004336a5a14bfcc5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | USB: serial: digi_acceleport: add chars_in_buffer locking (diff) | |
download | linux-dev-9a8253a7c2da1d78183029a46bf04fb7beb933eb.tar.xz linux-dev-9a8253a7c2da1d78183029a46bf04fb7beb933eb.zip |
USB: serial: io_edgeport: drop buffer-callback sanity checks
The driver write_room and chars_in_buffer callbacks used to incorrectly
return a negative errno in case they were called while or after the port
had been closed. The return value was later changed to zero by commit
d76f2f4462bb ("io_edgeport: Fix various bogus returns to the tty
layer") but the bogus sanity checks were left in place as were the
outdated function-header comments.
These callbacks will never be called for an uninitialised port so drop
the unnecessary sanity checks and the outdated comments.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions