summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry.Vignaud <thierry.vignaud@gmail.com>2014-06-18 16:16:58 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-06-18 22:40:48 +0200
commit2b5daa0e9fdb42bb52337bf3a3fbfb63ae6df128 (patch)
tree1b3760e4af8516082dd5fc484ee9b2ea686be65a
parentacc4048b8314395a3d43cce48ebc8d28b136b1f9 (diff)
downloaddrakx-2b5daa0e9fdb42bb52337bf3a3fbfb63ae6df128.tar
drakx-2b5daa0e9fdb42bb52337bf3a3fbfb63ae6df128.tar.gz
drakx-2b5daa0e9fdb42bb52337bf3a3fbfb63ae6df128.tar.bz2
drakx-2b5daa0e9fdb42bb52337bf3a3fbfb63ae6df128.tar.xz
drakx-2b5daa0e9fdb42bb52337bf3a3fbfb63ae6df128.zip
(get_dynamic_major) kill it now it's unused
-rw-r--r--perl-install/devices.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index f1764fee2..f06168c1d 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -52,11 +52,6 @@ sub find_compressed_image {
undef;
}
-sub get_dynamic_major {
- my ($name) = @_;
- cat_('/proc/devices') =~ /^(\d+) \Q$name\E$/m && $1;
-}
-
sub init_device_mapper() {
require modules;
eval { modules::load('dm-mod') };