iscsi-target: remove unnecessary check in iscsit_setup_np error path
authorJoern Engel <joern@logfs.org>
Tue, 2 Sep 2014 21:49:53 +0000 (17:49 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 17 Sep 2014 20:36:13 +0000 (13:36 -0700)
commit94e16e9c59312247de199b5f9bf141d1bd946dd0
tree18461781004de892639fca66de470754ff56e845
parent1d30686da4a40029cb48eab28442896b58aeceef
iscsi-target: remove unnecessary check in iscsit_setup_np error path

Found by coverity.  At this point sock is non-NULL, so the check
to unnecessary.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_login.c