nuke unused variable have_conffile

not used anywhere beside postinst.

svn path=/dists/trunk/linux-2.6/; revision=14644
This commit is contained in:
Maximilian Attems 2009-11-17 13:00:05 +00:00
parent dcda3cd3cf
commit 142bd1773d
3 changed files with 0 additions and 7 deletions

View File

@ -66,7 +66,6 @@ my $rootdisk = '';
my $rootpartition = '';
my $image_dest = "/";
my $realimageloc = "/$image_dir/";
my $have_conffile = "";
my $CONF_LOC = '/etc/kernel-img.conf';
my $relative_links = '';
@ -111,7 +110,6 @@ if (-r "$CONF_LOC" && -f "$CONF_LOC" ) {
$postrm_hook = "$1" if /postrm_hook\s*=\s*(\S+)/ig;
}
close CONF;
$have_conffile = "Yes";
}
}

View File

@ -39,7 +39,6 @@ my $rootdisk = '';
my $rootpartition = '';
my $image_dest = "/";
my $realimageloc = "/$image_dir/";
my $have_conffile = "";
my $CONF_LOC = '/etc/kernel-img.conf';
my $relative_links = '';
@ -88,8 +87,6 @@ if (-r "$CONF_LOC" && -f "$CONF_LOC" ) {
$ramdisk = "$1" if /ramdisk\s*=\s*(.+)$/ig;
}
close CONF;
$have_conffile = "Yes";
$have_conffile = "Yes"; # stop perl complaining
}
}

View File

@ -44,7 +44,6 @@ my $temp_file_name = "/var/log/$loader" . "_log.$$";
#known variables
my $image_dest = "/";
my $realimageloc = "/$image_dir/";
my $have_conffile = "";
my $CONF_LOC = '/etc/kernel-img.conf';
my $relative_links = '';
@ -114,7 +113,6 @@ if (-r "$CONF_LOC" && -f "$CONF_LOC" ) {
$prerm_hook = "$1" if /prerm_hook\s*=\s*(\S+)/ig;
}
close CONF;
$have_conffile = "Yes";
}
}