diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-01-02 17:39:29 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-01-02 17:39:29 +0000 |
commit | 92baa7aea16627df7987d1e951544bb99068a7fb (patch) | |
tree | f60029f1538869dfbd57805b46febf9463ba87b8 /perl-install/harddrake/data.pm | |
parent | 866d1c176c00d34465fe419a468ef6c0769aa4a5 (diff) | |
download | drakx-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/harddrake/data.pm')
-rw-r--r-- | perl-install/harddrake/data.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm index 3db7b8083..d4e8d2ee2 100644 --- a/perl-install/harddrake/data.pm +++ b/perl-install/harddrake/data.pm @@ -45,12 +45,12 @@ sub set_removable_configurator { } sub set_media_auto_configurator { - my ($class, $device) = @_; + my ($device) = @_; return "/usr/sbin/drakupdate_fstab --no-flag --auto --add $device->{device}" if is_auto_configurable_media($device); } sub set_media_remover { - my ($class, $device) = @_; + my ($device) = @_; return "/usr/sbin/drakupdate_fstab --no-flag --del $device->{device}" if is_auto_configurable_media($device); } |