]> sigrok.org Git - libsigrok.git/commitdiff
input: format_match() is not required in an input module.
authorBert Vermeulen <redacted>
Tue, 19 Aug 2014 23:27:39 +0000 (01:27 +0200)
committerBert Vermeulen <redacted>
Mon, 25 Aug 2014 23:55:41 +0000 (01:55 +0200)
src/backend.c

index 5f5f4e88d7f8cb2dd68e34d26fe068b145316079..48472bae55bc1ecb7e4659ab40f8da8016e5153b 100644 (file)
@@ -238,10 +238,6 @@ static int sanity_check_all_input_modules(void)
                        sr_err("No description in module %d ('%s').", i, d);
                        errors++;
                }
-               if (!inputs[i]->format_match) {
-                       sr_err("No format_match in module %d ('%s').", i, d);
-                       errors++;
-               }
                if (!inputs[i]->init) {
                        sr_err("No init in module %d ('%s').", i, d);
                        errors++;