These macros/functions are now removed. Any new use will be detected as compile errors.
Signed-off-by: Stephen Hemminger <[email protected]> --- devtools/checkpatches.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index 18bd825372..3649645488 100755 --- a/devtools/checkpatches.sh +++ b/devtools/checkpatches.sh @@ -129,14 +129,6 @@ check_forbidden_additions() { # <patch> -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ "$1" || res=1 - # refrain from new additions of rte_smp_[r/w]mb() - awk -v FOLDERS="lib drivers app examples" \ - -v EXPRESSIONS="rte_smp_(r|w)?mb\\\(" \ - -v RET_ON_FAIL=1 \ - -v MESSAGE='Using rte_smp_[r/w]mb' \ - -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \ - "$1" || res=1 - # refrain from using compiler __sync_xxx builtins awk -v FOLDERS="lib drivers app examples" \ -v EXPRESSIONS="__sync_.*\\\(" \ -- 2.53.0

