1 |
commit: c7c2fbb02642dc3f9179df2cd5eec3629100dc29 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 27 16:16:59 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 16:16:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c7c2fbb0 |
7 |
|
8 |
initrd.scripts: load_modules(): Remove unused load_modules() function |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
defaults/initrd.scripts | 16 ---------------- |
13 |
1 file changed, 16 deletions(-) |
14 |
|
15 |
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts |
16 |
index 11b529b..597fb09 100644 |
17 |
--- a/defaults/initrd.scripts |
18 |
+++ b/defaults/initrd.scripts |
19 |
@@ -1267,22 +1267,6 @@ cmdline_hwopts() { |
20 |
MY_HWOPTS=${TMP_HWOPTS} |
21 |
} |
22 |
|
23 |
-load_modules() { |
24 |
- # Load modules listed in MY_HWOPTS if /lib/modules exists for the running |
25 |
- # kernel version |
26 |
- if [ -d "/lib/modules/${KV}" ] |
27 |
- then |
28 |
- good_msg 'Loading modules ...' |
29 |
- # Load appropriate kernel modules |
30 |
- for modules in ${MY_HWOPTS} |
31 |
- do |
32 |
- modules_scan ${modules} |
33 |
- done |
34 |
- else |
35 |
- good_msg 'Skipping module load; no modules in the ramdisk!' |
36 |
- fi |
37 |
-} |
38 |
- |
39 |
setup_keymap() { |
40 |
if [ "${DO_keymap}" ] |
41 |
then |