[PATCH] zfs: remove unused buf variable

Joel Johnson mrjoel at lixil.net
Sat Jan 11 17:09:34 CET 2020


Remove unused variable to silence compiler warning

Signed-off-by: Joel Johnson <mrjoel at lixil.net>
---

 cmd/zfs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cmd/zfs.c b/cmd/zfs.c
index ed5402bb13..79dbb21e7a 100644
--- a/cmd/zfs.c
+++ b/cmd/zfs.c
@@ -40,7 +40,6 @@ static int do_zfs_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]
 	ulong addr = 0;
 	disk_partition_t info;
 	struct blk_desc *dev_desc;
-	char buf[12];
 	unsigned long count;
 	const char *addr_str;
 	struct zfs_file zfile;
-- 
2.20.1



More information about the U-Boot mailing list