diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 600ac57e27777f429b77279d93cb9a483f1fbd15..f959c39cc0079ee14cf226677b4c5063c3236427 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -348,10 +348,8 @@ static int ddebug_parse_query(char *words[], int nwords, } if (last) *last++ = '\0'; - if (parse_lineno(first, &query->first_lineno) < 0) { - pr_err("line-number is <0\n"); + if (parse_lineno(first, &query->first_lineno) < 0) return -EINVAL; - } if (last) { /* range - */ if (parse_lineno(last, &query->last_lineno)