Whamcloud - gitweb
LU-16694 tests: remove deprecated h2tcp, h2o2ib 13/50513/2
authorTimothy Day <timday@amazon.com>
Fri, 31 Mar 2023 04:12:46 +0000 (04:12 +0000)
committerOleg Drokin <green@whamcloud.com>
Tue, 18 Apr 2023 03:24:16 +0000 (03:24 +0000)
These functions were deprecated about 6 years ago. It's
probably safe to remove them now.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I6b16d0ad1dc1ea6f00fc730cb95672ef3c07f8a5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50513
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/test-framework.sh

index 4026d9b..65ab2cd 100755 (executable)
@@ -3997,26 +3997,6 @@ h2nettype() {
 }
 declare -fx h2nettype
 
-# Wrapper function to print the deprecation warning
-h2tcp() {
-       echo "h2tcp: deprecated, use h2nettype instead" 1>&2
-       if [[ -n "$NETTYPE" ]]; then
-               h2nettype "$@"
-       else
-               h2nettype "$1" "tcp"
-       fi
-}
-
-# Wrapper function to print the deprecation warning
-h2o2ib() {
-       echo "h2o2ib: deprecated, use h2nettype instead" 1>&2
-       if [[ -n "$NETTYPE" ]]; then
-               h2nettype "$@"
-       else
-               h2nettype "$1" "o2ib"
-       fi
-}
-
 # This enables variables in cfg/"setup".sh files to support the pdsh HOSTLIST
 # expressions format. As a bonus we can then just pass in those variables
 # to pdsh. What this function does is take a HOSTLIST type string and