Revert "checkpatch: complain about the use of dsb()."

This reverts commit 73998fd952.

Change-Id: Iba24396d7a4c17ac01fe2226a4a36e8c1de2e1db
Signed-off-by: Hepson Sanchez <sanchez@codeaurora.org>
This commit is contained in:
Hepson Sanchez 2019-07-10 17:51:08 -07:00 committed by Elliot Berman
parent 216e7ad2d3
commit 43773c4d53

View file

@ -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",