iscsi-target: simplify return statement
authorJoern Engel <joern@logfs.org>
Tue, 2 Sep 2014 21:49:51 +0000 (17:49 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 17 Sep 2014 20:19:23 +0000 (13:19 -0700)
commit5c22e2294156377b7e2d2d99aaffea9ae6994452
tree5ab4f7dc5bad314098d0e14c4bc231a5fed02a27
parentcb35484231e0b7edf23e192867e5fba955e584cb
iscsi-target: simplify return statement

The return statement cannot be reached without either recovery or dump
being set to 1.  Therefore the condition always evaluates to true and
recovery and dump are useless variables.

Found by Coverity.

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