USB: serial: mos7840: drop buffer-callback return-value comments
authorJohan Hovold <johan@kernel.org>
Wed, 19 May 2021 09:20:05 +0000 (11:20 +0200)
committerJohan Hovold <johan@kernel.org>
Fri, 21 May 2021 13:46:20 +0000 (15:46 +0200)
commit661867161f63bc5cc22b0d1e8ea59a682779a0ef
tree10a6939a243347cd54d0e03bc9e2a8bc5827d85d
parent683c5cfa5d1c050c698654e9bb13b12c8e60e174
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>
drivers/usb/serial/mos7840.c