[PATCH] fixup! of: add function to read a file as unflattened device tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



of: fix warning about now unused variable

This was an argument to read_file, which has been replaced in a previous
commit. Now GCC warns about it.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 common/blspec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common/blspec.c b/common/blspec.c
index 197ccb2b07e6..4b4e04b03997 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -426,7 +426,6 @@ static bool entry_is_of_compatible(struct blspec_entry *entry)
 {
 	const char *devicetree;
 	const char *abspath;
-	size_t size;
 	int ret;
 	struct device_node *root = NULL, *barebox_root;
 	const char *compat;
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux