Eventscripts: remove unused remove_ip() function.
[sahlberg/ctdb.git] / config / functions
index bd4ab21424af13223541b2cb4ed36add52f27a90..39daeb7eb519d39102b57a01f88235ff1d2f620c 100755 (executable)
@@ -425,18 +425,6 @@ startstop_nfslock() {
        esac
 }
 
-# better use delete_ip_from_iface() together with add_ip_to_iface
-# remove_ip should be removed in future
-remove_ip() {
-       local _ip_maskbits=$1
-       local _iface=$2
-       local _ip=`echo "$_ip_maskbits" | cut -d '/' -f1`
-       local _maskbits=`echo "$_ip_maskbits" | cut -d '/' -f2`
-
-       delete_ip_from_iface "$_iface" "$_ip" "$_maskbits"
-       return $?
-}
-
 add_ip_to_iface()
 {
        local _iface=$1