Remove unused function
[anna.git] / example / diameter / launcher / resources / pcap2diameterHex.sh
index 25c247e..fc217cd 100755 (executable)
@@ -38,16 +38,6 @@ _exit () {
   exit $rc
 }
 
-# $1: string; $2: substring
-get_str_pos() {
-  local result=-1
-  local str=$1
-  local substr="${1%%$2*}"
-  local pos=${#substr}
-  local size=${#str}
-  [ $size -ne $pos ] && result=$pos
-  echo $result
-}
 
 #############
 # EXECUTION #