diff options
author | 2021-05-19 11:20:05 +0200 | |
---|---|---|
committer | 2021-05-21 15:46:20 +0200 | |
commit | 661867161f63bc5cc22b0d1e8ea59a682779a0ef (patch) | |
tree | 10a6939a243347cd54d0e03bc9e2a8bc5827d85d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | USB: serial: mos7720: drop buffer-callback sanity checks (diff) | |
download | linux-dev-661867161f63bc5cc22b0d1e8ea59a682779a0ef.tar.xz linux-dev-661867161f63bc5cc22b0d1e8ea59a682779a0ef.zip |
USB: serial: mos7840: drop buffer-callback return-value comments
The driver write_room and chars_in_buffer callbacks used to incorrectly
return a negative errno in case they were called with a NULL port
driver-data pointer or if some other always-true sanity checks failed.
The bogus sanity checks were later removed by commit ce039bd4b21f ("USB:
serial: mos7840: drop paranoid port checks") and 7b2faede671a ("USB:
serial: mos7840: drop port driver data accessors") but the
function-header comments were never updated to match.
Drop the outdated return-value 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