[sheepdog] [PATCH 2/2] checkpatch.pl: reduce an obsolete check

Hitoshi Mitake h.mitake at gmail.com
Fri Jan 18 04:36:05 CET 2013


At Fri, 18 Jan 2013 01:56:12 +0900,
Hitoshi Mitake wrote:
> 
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
>  script/checkpatch.pl |   12 ------------
>  1 files changed, 0 insertions(+), 12 deletions(-)
> 
> diff --git a/script/checkpatch.pl b/script/checkpatch.pl
> index e8bb542..d9486d3 100755
> --- a/script/checkpatch.pl
> +++ b/script/checkpatch.pl
> @@ -1715,18 +1715,6 @@ sub process {
>  			     "CVS style keyword markers, these will _not_ be updated\n". $herecurr);
>  		}
>  
> -# Blackfin: don't use __builtin_bfin_[cs]sync
> -		if ($line =~ /__builtin_bfin_csync/) {
> -			my $herevet = "$here\n" . cat_vet($line) . "\n";
> -			ERROR("CSYNC",
> -			      "use the CSYNC() macro in asm/blackfin.h\n" . $herevet);
> -		}
> -		if ($line =~ /__builtin_bfin_ssync/) {
> -			my $herevet = "$here\n" . cat_vet($line) . "\n";
> -			ERROR("SSYNC",
> -			      "use the SSYNC() macro in asm/blackfin.h\n" . $herevet);
> -		}
> -
>  # Check for potential 'bare' types
>  		my ($stat, $cond, $line_nr_next, $remain_next, $off_next,
>  		    $realline_next);

BTW, could you apply this patch, Yuan? This one has no problem.

Thanks,
Hitoshi



More information about the sheepdog mailing list