target: remove dead code
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 9 May 2017 21:46:04 +0000 (16:46 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 9 Jun 2017 06:26:37 +0000 (23:26 -0700)
commitfb418240ecbd721a1237da592c075993c1709955
treea8f91ef3d38897dba7d586fe5fb5acc7c130b1f3
parentabb85a9b512e8ca7ad04a5a8a6db9664fe644974
target: remove dead code

Local variable _ret_ is assigned to a constant value and it is never
updated again. Remove this variable and the dead code it guards.

Addresses-Coverity-ID: 140761
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Reviewed-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_rd.c