diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-07-21 22:04:06 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-02 18:02:41 +0200 |
commit | 10fce586b20ba27013f0a6ac73b3ac87c95cf8b5 (patch) | |
tree | c0db6a42e929d4243860027f81f6ba1535def1ee /net/ipv4/tcp_metrics.c | |
parent | IB/srpt: Limit the number of SG elements per work request (diff) | |
download | linux-10fce586b20ba27013f0a6ac73b3ac87c95cf8b5.tar.xz linux-10fce586b20ba27013f0a6ac73b3ac87c95cf8b5.zip |
IB/srpt: Simplify srpt_queue_response()
Initialize first_wr to &send_wr. This allows to remove a ternary
operator and an else branch. This patch does not change the behavior
of srpt_queue_response().
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Steve Wise <swise@opengridcomputing.com>
Tested-by: Laurence Oberman <loberman@redhat.com>
Cc: Parav Pandit <pandit.parav@gmail.com>
Cc: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/ipv4/tcp_metrics.c')
0 files changed, 0 insertions, 0 deletions