net/rds: Remove two WARN_ON() statements
commit197c782e3a18cc2de8766dc30a56f37b9b7a9eec
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 18 Jul 2018 16:25:27 +0000 (18 09:25 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 24 Jul 2018 22:06:36 +0000 (24 16:06 -0600)
treeafa1b74a179ec565a4b84befb408764d072d5e06
parent72bc4d375d89d0ecb0df491c1eada201a995c471
net/rds: Remove two WARN_ON() statements

Remove two WARN_ON() statements that verify something that is guaranteed
by the RDMA API, namely that the failed_wr pointer is not touched if an
ib_post_send() call succeeds and that it points at the failed wr if an
ib_post_send() call fails.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
net/rds/ib_frmr.c