summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-09 00:14:41 +0200
committerThomas Bächler <thomas@archlinux.org>2011-06-25 12:25:45 +0200
commit6dba57232914a1952dedea70a1dad38142ba7258 (patch)
treea2127086d903d425558e2736e977c94af5dda772
parent074ab58c616a00374c828d1d388880521bab6183 (diff)
downloadmkinitcpio-6dba57232914a1952dedea70a1dad38142ba7258.tar.gz
mkinitcpio-6dba57232914a1952dedea70a1dad38142ba7258.tar.xz
functions: remove get_module_name
This is no longer used, as all of our module discovery functions will return clean module names. Signed-off-by: Dave Reisner <d@falconindy.com>
-rw-r--r--functions8
1 files changed, 0 insertions, 8 deletions
diff --git a/functions b/functions
index dbbcb3c..5ed543f 100644
--- a/functions
+++ b/functions
@@ -42,14 +42,6 @@ get_basename() {
echo "${1##*/}"
}
-get_module_name() {
- #cleanup - remove .ko, replace - with _
- local modname="${1%.gz}"
- modname=$(get_basename "${modname%.ko}")
- modname="${modname//-/_}"
- echo "$modname"
-}
-
in_array() {
# Search for an element in an array.
# $1: needle