summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-01-02 17:39:29 +0000
committerOlivier Blin <oblin@mandriva.com>2008-01-02 17:39:29 +0000
commit92baa7aea16627df7987d1e951544bb99068a7fb (patch)
treef60029f1538869dfbd57805b46febf9463ba87b8 /perl-install/standalone/service_harddrake
parent866d1c176c00d34465fe419a468ef6c0769aa4a5 (diff)
downloaddrakx-92baa7aea16627df7987d1e951544bb99068a7fb.tar
drakx-92baa7aea16627df7987d1e951544bb99068a7fb.tar.gz
drakx-92baa7aea16627df7987d1e951544bb99068a7fb.tar.bz2
drakx-92baa7aea16627df7987d1e951544bb99068a7fb.tar.xz
drakx-92baa7aea16627df7987d1e951544bb99068a7fb.zip
remove unused class argument (the caller already checks the class)
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 294f07074..dab1428a0 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -142,10 +142,10 @@ foreach my $hw_class (@harddrake::data::tree) {
my @configurator_pool;
if (harddrake::data::is_auto_configurable_class($Ident)) {
foreach my $device (@ID{@added}) {
- push @configurator_pool, harddrake::data::set_media_auto_configurator($Ident, $device);
+ push @configurator_pool, harddrake::data::set_media_auto_configurator($device);
}
foreach my $device (@$oldconfig{@was_removed}) {
- push @configurator_pool, harddrake::data::set_media_remover($Ident, $device);
+ push @configurator_pool, harddrake::data::set_media_remover($device);
}
} else {
@configurator_pool = $configurator;