]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/proftool.c
gpio: remove gpiolib.c and define remaining functions as static inline in asm/gpio.h
[karo-tx-uboot.git] / tools / proftool.c
index a48ed286a5f240de526f4be50bd03463465fdb72..348295198cd3d061dd8fc83baa10a6040f25e338 100644 (file)
@@ -1,20 +1,7 @@
 /*
  * Copyright (c) 2013 Google, Inc
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /* Decode and dump U-Boot profiling information */
@@ -333,7 +320,7 @@ static void check_trace_config_line(struct trace_configline_info *item)
                if (err == REG_NOMATCH)
                        continue;
 
-               if (err != REG_NOERROR) {
+               if (err) {
                        regex_report_error(&item->regex, err, "match",
                                           item->name);
                        break;