Skip to contentSkip to conversation

zfs: remove unused buf variable

PATCH New Joel Johnson 2 participants 2 messages Jan 11, 2020 – Jan 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 zfs: remove unused buf variable

Remove unused variable to silence compiler warning

---

 cmd/zfs.c | 1 -
 1 file changed, 1 deletion(-)
cmd/zfs.c +0 -1
index ed5402bb13..79dbb21e7a 100644
@@ -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;
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 zfs: remove unused buf variable

Quoted 3 lines · Joel Johnson

Remove unused variable to silence compiler warning

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200123/d44c38d5/attachment-0001.sig>