[v2,10/30] test/parser: Add parser_is_unique
diff mbox series

Message ID f88fd6e88772f73d17d55267e40986316bbdcb81.1533230644.git.geoff@infradead.org
State Accepted
Headers show
Series
  • [v2,01/30] docker: Add libfdt-dev
Related show

Commit Message

Geoff Levand Aug. 2, 2018, 5:29 p.m. UTC
Signed-off-by: Geoff Levand <geoff@infradead.org>
---
 test/parser/utils.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Patch
diff mbox series

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)