summaryrefslogtreecommitdiffstats
path: root/pciusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'pciusb.c')
-rw-r--r--pciusb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/pciusb.c b/pciusb.c
index 9e3da49..f7d90e8 100644
--- a/pciusb.c
+++ b/pciusb.c
@@ -96,18 +96,11 @@ static void find_modules_through_aliases(struct pciusb_entries *entries) {
}
}
if (aliases) {
- char *p;
// take the last one because we find eg: generic/ata_generic/sata_sil
while (aliases->next)
aliases = aliases->next;
ifree(e->module);
e->module = strdup(aliases->module);
- /* replace '_' characters with '-' to be compliant with pcitable and list_modules.pm */
- p = e->module;
- while (p && *p) {
- if (*p == '_') *p = '-';
- p++;
- }
aliases = NULL;
}
}