summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-01 12:31:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-01 12:31:22 +0000
commit537fe7e25454c66f3195d5384975fc3b7cc1d37e (patch)
tree806e2cd04a777e496600e2f002e965447a80fdb2
parentf7f0aced90c8431d8f0809e6a69cf15c9901edcc (diff)
downloaddrakx-537fe7e25454c66f3195d5384975fc3b7cc1d37e.tar
drakx-537fe7e25454c66f3195d5384975fc3b7cc1d37e.tar.gz
drakx-537fe7e25454c66f3195d5384975fc3b7cc1d37e.tar.bz2
drakx-537fe7e25454c66f3195d5384975fc3b7cc1d37e.tar.xz
drakx-537fe7e25454c66f3195d5384975fc3b7cc1d37e.zip
simplify: grep already done complete_usb_storage_info()
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 44f065ede..049f32f32 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -132,7 +132,7 @@ sub get_usb_storage_info_24 {
}
add2hash($choices[0], $usbs{$host});
}
- complete_usb_storage_info(grep { exists $_->{usb_vendor} } @l);
+ complete_usb_storage_info(@l);
@l;
}