From a26daeb87cd49c2d6640965337cf625ae800c35a Mon Sep 17 00:00:00 2001 From: Luis Useche Date: Mon, 5 May 2008 20:53:07 +0200 Subject: [PATCH] eliminate check of empty -F format This patch eliminates the checking of -F format when it is empty. I am using this in order to blank out the events that I do not want for certain act mask. Note that there is no real motivation to have this checking. Signed-off-by: Jens Axboe --- blkparse_fmt.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/blkparse_fmt.c b/blkparse_fmt.c index 0ca5c60..2f21f6b 100644 --- a/blkparse_fmt.c +++ b/blkparse_fmt.c @@ -44,10 +44,6 @@ int add_format_spec(char *option) return 1; } option += 2; - if (*option == '\0') { - fprintf(stderr,"Bad format specifier - need fmt %s\n", option); - return 1; - } override_format[spec] = strdup(option); -- 2.25.1