summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2018-01-13 19:12:43 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2018-01-13 19:12:43 +0100
commit11437662c45e31a8822fae5e220f70edda85fff5 (patch)
tree1539840307a172cb2c27b320e971ff6cd2f5994b
parent4d988d43d8804be48bbb2c07b843237a19c8bcf1 (diff)
nwztools/scsitool: fix completely stupid code
Change-Id: I3771388d24fe5fa249dcb40b231d7a4e06d3c3c8
-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");