common/quota: move _qsetup() helper to common code
[xfstests-dev.git] / tests / xfs / 299
index b862e67..26b7fcf 100755 (executable)
@@ -62,25 +62,6 @@ _filter_and_check_blks()
        ' | _filter_quota_report
 }
 
-_qsetup()
-{
-       opt=$1
-       enforce=0
-       if [ $opt = "u" -o $opt = "uno" ]; then
-               type=u
-               eval `_choose_uid`
-       elif [ $opt = "g" -o $opt = "gno" ]; then
-               type=g
-               eval `_choose_gid`
-       elif [ $opt = "p" -o $opt = "pno" ]; then
-               type=p
-               eval `_choose_prid`
-       fi
-       [ $opt = "u" -o $opt = "g" -o $opt = "p" ] && enforce=1
-
-       echo "Using type=$type id=$id" >> $seqres.full
-}
-
 _exercise()
 {