]> git.proxmox.com Git - mirror_qemu.git/blobdiff - scripts/checkpatch.pl
error: Consistently name Error * objects err, and not errp
[mirror_qemu.git] / scripts / checkpatch.pl
index b0f6e113c5dca4d53633dcb5f61286c0058e29f8..efca817b9be15324f5d0e0eefc7b9eb9eb9b9ff7 100755 (executable)
@@ -1890,19 +1890,6 @@ sub process {
                                                ERROR("space prohibited after that '$op' $at\n" . $hereptr);
                                        }
 
-
-                               # << and >> may either have or not have spaces both sides
-                               } elsif ($op eq '<<' or $op eq '>>' or
-                                        $op eq '&' or $op eq '^' or $op eq '|' or
-                                        $op eq '+' or $op eq '-' or
-                                        $op eq '*' or $op eq '/' or
-                                        $op eq '%')
-                               {
-                                       if ($ctx =~ /Wx[^WCE]|[^WCE]xW/) {
-                                               ERROR("need consistent spacing around '$op' $at\n" .
-                                                       $hereptr);
-                                       }
-
                                # A colon needs no spaces before when it is
                                # terminating a case value or a label.
                                } elsif ($opv eq ':C' || $opv eq ':L') {