Merge tag 'uninit-macro-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / scripts / checkpatch.pl
index 60b737e..599b8c4 100755 (executable)
@@ -5902,8 +5902,7 @@ sub process {
                my $barriers = qr{
                        mb|
                        rmb|
-                       wmb|
-                       read_barrier_depends
+                       wmb
                }x;
                my $barrier_stems = qr{
                        mb__before_atomic|
@@ -5952,12 +5951,6 @@ sub process {
                        }
                }
 
-# check for smp_read_barrier_depends and read_barrier_depends
-               if (!$file && $line =~ /\b(smp_|)read_barrier_depends\s*\(/) {
-                       WARN("READ_BARRIER_DEPENDS",
-                            "$1read_barrier_depends should only be used in READ_ONCE or DEC Alpha code\n" . $herecurr);
-               }
-
 # check of hardware specific defines
                if ($line =~ m@^.\s*\#\s*if.*\b(__i386__|__powerpc64__|__sun__|__s390x__)\b@ && $realfile !~ m@include/asm-@) {
                        CHK("ARCH_DEFINES",