diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-09 00:14:41 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-06-25 12:25:45 +0200 |
commit | 6dba57232914a1952dedea70a1dad38142ba7258 (patch) | |
tree | a2127086d903d425558e2736e977c94af5dda772 /functions | |
parent | 074ab58c616a00374c828d1d388880521bab6183 (diff) | |
download | mkinitcpio-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>
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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 |