From 90292573c8b966753fe413d79702b73d804a34c4 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 28 Sep 2005 23:22:45 +0000 Subject: fix typo --- kernel/modules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel') diff --git a/kernel/modules.pl b/kernel/modules.pl index afcc50549..1e058cce4 100644 --- a/kernel/modules.pl +++ b/kernel/modules.pl @@ -130,7 +130,7 @@ sub remove_unneeded_modules { my @all = list_modules::all_modules(); my @all_with_deps = map { dependencies_closure($_) } @all; - my %wanted_modules = map {; return "$_.$ext" => 1 } @all_with_deps; + my %wanted_modules = map {; "$_.$ext" => 1 } @all_with_deps; foreach (all("all.kernels/$kern_ver/modules")) { $wanted_modules{$_} or unlink "all.kernels/$kern_ver/modules/$_"; } -- cgit v1.2.1