summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-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