Update revsec.sh

removing unused functions