USB: ftdi_sio: optimise chars_in_buffer
No need to check hardware buffers when we know that the software buffers are non-empty. Signed-off-by: NJohan Hovold <jhovold@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录