diff options
author | Johan Hovold <johan@kernel.org> | 2021-05-19 11:20:05 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2021-05-21 15:46:20 +0200 |
commit | 661867161f63bc5cc22b0d1e8ea59a682779a0ef (patch) | |
tree | 10a6939a243347cd54d0e03bc9e2a8bc5827d85d /drivers/rtc/rtc-pcf85063.c | |
parent | 683c5cfa5d1c050c698654e9bb13b12c8e60e174 (diff) |
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 'drivers/rtc/rtc-pcf85063.c')
0 files changed, 0 insertions, 0 deletions