]> git.baikalelectronics.ru Git - kernel.git/commit
ib_srp: Remove WARN_ON in srp_terminate_io()
authorHannes Reinecke <hare@suse.de>
Wed, 17 Oct 2018 07:20:04 +0000 (09:20 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 17 Oct 2018 15:42:58 +0000 (11:42 -0400)
commit8c38aa30362b486c468ae9b318c3c95cbd81e9a9
tree09a444dda575be598deb09b021b4e570d514487a
parent12f9643a269efe6d6e1299d6f3938032337f097f
ib_srp: Remove WARN_ON in srp_terminate_io()

The WARN_ON() is pointless as the rport is placed in SDEV_TRANSPORT_OFFLINE
at that time, so no new commands can be submitted via srp_queuecommand()

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.com>
Acked-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c