summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-04 09:11:40 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-04 09:11:40 +0000
commitf86a65667fa77661f026bc4a07bc8fb217a4459c (patch)
treebbb3234adf21bdeead088f23bec433ee0392bf25
parent0bcd81847e0c3ac67e20c33c43b59c45ac311cb0 (diff)
downloadldetect-f86a65667fa77661f026bc4a07bc8fb217a4459c.tar
ldetect-f86a65667fa77661f026bc4a07bc8fb217a4459c.tar.gz
ldetect-f86a65667fa77661f026bc4a07bc8fb217a4459c.tar.bz2
ldetect-f86a65667fa77661f026bc4a07bc8fb217a4459c.tar.xz
ldetect-f86a65667fa77661f026bc4a07bc8fb217a4459c.zip
(pci_probe) simplify
-rw-r--r--pci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pci.c b/pci.c
index 06e1ca8..c28a846 100644
--- a/pci.c
+++ b/pci.c
@@ -103,9 +103,8 @@ extern struct pciusb_entries pci_probe(void) {
|| e->subvendor == 0x1186 && e->subdevice == 0x1300
|| e->subvendor == 0x13d1 && e->subdevice == 0xab06)
e->module = strdup("8139too");
- } else if (e->vendor == 0x1119) { /* Vortex only makes RAID controllers. */
+ } else if (e->vendor == 0x1119) /* Vortex only makes RAID controllers. */
e->module = strdup("gdth");
- }
close(devf);
}