aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2016-02-11 11:09:10 -0800
committerDoug Ledford <[email protected]>2016-02-29 17:12:36 -0500
commitfc3af58d3f8b820e3acabb1e1c4f105eb3f283c1 (patch)
tree1ea09dfef8a4581b78a84e2ed264add9762c8147 /net/lapb/lapb_subr.c
parentaaf45bd83eba804adfa5c4ff5b17ca0c88884c6f (diff)
IB/srpt: Fix srpt_write_pending()
The only allowed return values for the write_pending() callback function are 0, -EAGAIN and -ENOMEM. Since attempting to perform RDMA over a disconnecting channel will result in an IB error completion anyway, remove the code that checks the channel state from srpt_write_pending(). Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Cc: Alex Estrin <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions