lsb-functions: removed KV_micro()
authorFrank Terbeck <ft@grml.org>
Sun, 16 Sep 2007 10:51:48 +0000 (12:51 +0200)
committerFrank Terbeck <ft@grml.org>
Sun, 16 Sep 2007 10:51:48 +0000 (12:51 +0200)
etc/grml/lsb-functions

index 78ca22e..7cddf8d 100644 (file)
@@ -451,18 +451,6 @@ veend() {
     return ${1:-0}
 }
 
-# char *KV_micro(string)
-#
-#    Return the Micro (Z of X.Y.Z) kernel version.
-#
-KV_micro() {
-    [ -z "$1" ] && return 1
-
-    local KV="$@"
-    KV="${KV#*.*.}"
-    printf "${KV%%[^[:digit:]]*}\n"
-}
-
 # int KV_to_int(string)
 #
 #    Convert a string type kernel version (2.4.0) to an int (132096)