summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-10-17 13:34:54 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-10-17 13:34:54 +0200
commit1eab18c9e41c0635fb5576ba35c7a053e533d518 (patch)
tree6cba68307d0230a4ef635436686ba9a0c101bbf8 /utils
parent9a8a52cb077a086b3881c8e182b8259443519041 (diff)
nwztools/scsitools: don't try to get nodes when we don't know about the device
Change-Id: Id35671f1e039a94e2b319262e4faa51d73f12afd
Diffstat (limited to 'utils')
-rw-r--r--utils/nwztools/scsitools/scsitool.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/utils/nwztools/scsitools/scsitool.c b/utils/nwztools/scsitools/scsitool.c
index ee8c0b16e4..8fe66d7ce0 100644
--- a/utils/nwztools/scsitools/scsitool.c
+++ b/utils/nwztools/scsitools/scsitool.c
@@ -984,8 +984,6 @@ void help_us(bool unsupported, unsigned long model_id)
cprintf_field("Model ID: ", "%#lx\n", model_id);
get_dev_info(0, NULL);
get_dhp(0, NULL);
- static char *list[] = { "kas", "lyr", "fpi" };
- get_dnk_nvp_multi(sizeof(list) / sizeof(list[0]), list);
}
int main(int argc, char **argv)