summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 6617fcd59..08d344fac 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -847,7 +847,6 @@ my (@pci, @usb);
sub pci_probe__real() {
add_addons($pcitable_addons, map {
my $l = $_;
- $l->{$_} = hex $l->{$_} foreach qw(vendor id subvendor subid);
$l->{bus} = 'PCI';
$l->{sysfs_device} = '/sys/bus/pci/devices/' . get_pci_sysfs_path($l);
$l;
@@ -870,7 +869,6 @@ sub usb_probe__real() {
add_addons($usbtable_addons, map {
my $l = $_;
$l->{media_type} = join('|', grep { $_ ne '(null)' } split('\|', $l->{media_type}));
- $l->{$_} = hex $l->{$_} foreach qw(vendor id);
$l->{sysfs_device} = "/sys/bus/usb/devices/$l->{pci_bus}-" . ($l->{usb_port} + 1);
$l->{bus} = 'USB';
$l;