From 43773c4d53572bc9cfc96b56dec34b33ef51a4c6 Mon Sep 17 00:00:00 2001 From: Hepson Sanchez Date: Wed, 10 Jul 2019 17:51:08 -0700 Subject: [PATCH] Revert "checkpatch: complain about the use of dsb()." This reverts commit 73998fd95272ed05e0661acb235687237f6e55c4. Change-Id: Iba24396d7a4c17ac01fe2226a4a36e8c1de2e1db Signed-off-by: Hepson Sanchez --- scripts/checkpatch.pl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 8a074dd3bc08..f46befc1e6a0 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -5713,13 +5713,6 @@ sub process { $herecurr); } -# dsb is too ARMish, and should usually be mb. - if ($line =~ /\bdsb\b/) { - WARN("ARM_BARRIER", - "Use of dsb is discouranged: prefer mb.\n" . - $herecurr); - } - # unbounded string functions are overflow risks my %str_fns = ( "sprintf" => "snprintf",