]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/proftool.c
tools/proftool: remove REG_NOERROR
[karo-tx-uboot.git] / tools / proftool.c
index a48ed286a5f240de526f4be50bd03463465fdb72..aa05e77ece547f352f1c0919dcf21f8b8a093773 100644 (file)
@@ -333,7 +333,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;