]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: Remove a WARN_ON() statement
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 18 Jul 2018 16:25:29 +0000 (09:25 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 24 Jul 2018 22:06:37 +0000 (16:06 -0600)
commit331eec70b0832f3a6d26c7aeb85b5a2f0c3492d7
treef85a1d0d16f8aa22d90414827fe57e9222561fba
parenta7635c20062ad1eed3bcc17d6b94f43e9bbf1bca
net/smc: Remove a WARN_ON() statement

Remove a WARN_ON() statement that verifies 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: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
net/smc/smc_wr.c