summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/service_harddrake6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index bfc652d13..d66b6fc43 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -39,11 +39,7 @@ foreach (@harddrake::data::tree) {
my %ID = map {
my $i = $_;
my $name = do {
- if ($item eq "Mouse") {
- $i->{media_type} = "MOUSE";
- $i->{device};
- } elsif (defined $i->{device}) {
- $i->{media_type} = "MASS_STORAGE_MEDIA";
+ if (defined $i->{device}) {
$i->{device};
} else {
join ':', map { $i->{$_} } qw(vendor id subvendor subid);