diff mbox series

[v1,10/30] test/parser: Add parser_is_unique

Message ID 1c47c221beaf0fd102df13068d055bc1e2215757.1532469861.git.geoff@infradead.org
State Superseded
Headers show
Series [v1,01/30] docker: Add libfdt-dev | expand

Commit Message

Geoff Levand July 24, 2018, 10:15 p.m. UTC
Signed-off-by: Geoff Levand <geoff@infradead.org>
---
 test/parser/utils.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/test/parser/utils.c b/test/parser/utils.c
index c6d1a17..d8499a4 100644
--- a/test/parser/utils.c
+++ b/test/parser/utils.c
@@ -371,6 +371,18 @@  err_cleanup:
 	return -1;
 }
 
+bool parser_is_unique(struct discover_context *ctx, struct discover_device *dev,
+	const char *filename, struct list *found_list)
+{
+	(void)ctx;
+	(void)dev;
+	(void)filename;
+	(void)found_list;
+
+	/* Just let the parser process everything. */
+	return true;
+}
+
 struct load_url_result *load_url_async(void *ctx, struct pb_url *url,
 		load_url_complete async_cb, void *async_data,
 		waiter_cb stdout_cb, void *stdout_data)