diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 3a8ac37d1d26..6efd971b32d2 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -5686,13 +5686,6 @@ sub process { $herecurr); } -# filp_open is a backdoor for sys_open - if ($line =~ /\b(filp_open)\b/) { - ERROR("FILE_OPS", - "$1 is inappropriate in kernel code.\n" . - $herecurr); - } - # read[bwl] & write[bwl] use too many barriers, use the _relaxed variants if ($line =~ /\b((?:read|write)[bwl])\b/) { ERROR("NON_RELAXED_IO",