nwztools/scsitools: don't try to get nodes when we don't know about the device

Change-Id: Id35671f1e039a94e2b319262e4faa51d73f12afd
This commit is contained in:
Amaury Pouly 2017-10-17 13:34:54 +02:00
parent 9a8a52cb07
commit 1eab18c9e4

View file

@ -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)