diff mbox series

zfs: remove unused buf variable

Message ID 20200111160934.2394-1-mrjoel@lixil.net
State Accepted
Commit 17f084fa8c64c97a68d854bd8611a55f69ac056d
Headers show
Series zfs: remove unused buf variable | expand

Commit Message

Joel Johnson Jan. 11, 2020, 4:09 p.m. UTC
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(-)

Comments

Tom Rini Jan. 23, 2020, 10:01 p.m. UTC | #1
On Sat, Jan 11, 2020 at 09:09:34AM -0700, Joel Johnson wrote:

> Remove unused variable to silence compiler warning
> 
> Signed-off-by: Joel Johnson <mrjoel at lixil.net>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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;