summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-cli-kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-cli-kernel.c')
-rw-r--r--com32/hdt/hdt-cli-kernel.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/com32/hdt/hdt-cli-kernel.c b/com32/hdt/hdt-cli-kernel.c
index f64771b7..89d013b4 100644
--- a/com32/hdt/hdt-cli-kernel.c
+++ b/com32/hdt/hdt-cli-kernel.c
@@ -43,7 +43,6 @@ void main_show_kernel(int argc __unused, char **argv __unused,
char kernel_modules[LINUX_KERNEL_MODULE_SIZE *
MAX_KERNEL_MODULES_PER_PCI_DEVICE];
- detect_pci(hardware);
reset_more_printf();
more_printf("Kernel modules\n");
@@ -98,8 +97,6 @@ static void show_kernel_modules(int argc __unused, char **argv __unused,
char modules[MAX_PCI_CLASSES][256] = {{0}};
char category_name[MAX_PCI_CLASSES][256] = {{0}};
- detect_pci(hardware);
-
if (hardware->pci_ids_return_code == -ENOPCIIDS) {
nopciids = true;
more_printf(" Missing pci.ids, we can't compute the list\n");