aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/iscsi/iscsi_target_erl0.c
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2014-09-02 17:49:50 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2014-09-17 13:19:16 -0700
commitcb35484231e0b7edf23e192867e5fba955e584cb (patch)
tree2e992dd541b91d8d51bea274d79830455d00a6d1 /drivers/target/iscsi/iscsi_target_erl0.c
parentiscsi-target: remove unused debug code (diff)
downloadlinux-dev-cb35484231e0b7edf23e192867e5fba955e584cb.tar.xz
linux-dev-cb35484231e0b7edf23e192867e5fba955e584cb.zip
iscsi-target: remove always-true conditions
Found by coverity. InitiatorName and InitiatorAlias are static arrays and therefore always non-NULL. At some point in the past they may have been dynamically allocated, but for current code the condition is useless. If the intent was to check InitiatorName[0] instead, I cannot find a use for that either. Let's get rid of it. Signed-off-by: Joern Engel <joern@logfs.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_erl0.c')
0 files changed, 0 insertions, 0 deletions