net/smc: Simplify ib_post_(send|recv|srq_recv)() calls
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 18 Jul 2018 16:25:30 +0000 (09:25 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 24 Jul 2018 22:06:37 +0000 (16:06 -0600)
commit2e3bbe46b4a18d16314dab0c0efdba0c079a5ed0
tree85a5194d0fcdcc330334030a1b20f8d0be2316c9
parent12c36dcfd6f48ece2fce4dc8e6ce68224d005d37
net/smc: Simplify ib_post_(send|recv|srq_recv)() calls

Instead of declaring and passing a dummy 'bad_wr' pointer, pass NULL
as third argument to ib_post_(send|recv|srq_recv)().

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Acked-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
net/smc/smc_tx.c
net/smc/smc_wr.c
net/smc/smc_wr.h