]> git.baikalelectronics.ru Git - kernel.git/commit
iser-target: Remove redundant check on the device
authorSagi Grimberg <sagig@mellanox.com>
Sun, 29 Mar 2015 12:52:17 +0000 (15:52 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 8 Apr 2015 06:27:56 +0000 (23:27 -0700)
commitc19ef37a16368c7f5fbcf69544fe007a20b0b02e
treebba9683ccaf3c794dc29f0d926c8e5fe459d6e42
parentd82e8fd3408775d8141bc708e64d2856cffecd5e
iser-target: Remove redundant check on the device

In iser_connect_release there is no chance that
the iser device is set to NULL, if this happens
we have a BUG. So use BUG_ON.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c