target: simplify target_fabric_make_lun error path
authorJoern Engel <joern@logfs.org>
Wed, 17 Sep 2014 22:11:28 +0000 (15:11 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 17 Sep 2014 22:11:28 +0000 (15:11 -0700)
Coverity complained that lun_cg has been dereferenced in all paths
leading to NULL check.  It didn't mention that only a single path could
lead there and the code can be simplified even further.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found