diff options
author | Joern Engel <joern@logfs.org> | 2014-09-02 17:49:51 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-09-17 13:19:23 -0700 |
commit | 5c22e2294156377b7e2d2d99aaffea9ae6994452 (patch) | |
tree | 5ab4f7dc5bad314098d0e14c4bc231a5fed02a27 /drivers/target/iscsi/iscsi_target_device.h | |
parent | cb35484231e0b7edf23e192867e5fba955e584cb (diff) | |
download | linux-5c22e2294156377b7e2d2d99aaffea9ae6994452.tar.bz2 |
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>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_device.h')
0 files changed, 0 insertions, 0 deletions