summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/nwztools/scsitools/scsitool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/nwztools/scsitools/scsitool.c b/utils/nwztools/scsitools/scsitool.c
index b3f05a0785..475dae59cd 100644
--- a/utils/nwztools/scsitools/scsitool.c
+++ b/utils/nwztools/scsitools/scsitool.c
@@ -829,7 +829,6 @@ int do_dest(int argc, char **argv)
int shp_index = NWZ_NVP_INVALID;
if(nwz_series[series_index].nvp_index)
shp_index = (*nwz_series[series_index].nvp_index)[NWZ_NVP_SHP];
- shp_index = NWZ_NVP_INVALID;
if(shp_index == NWZ_NVP_INVALID)
{
printf("This device doesn't have node 'shp'\n");