zfs: remove unused buf variable
authorJoel Johnson <mrjoel@lixil.net>
Sat, 11 Jan 2020 16:09:34 +0000 (09:09 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jan 2020 12:29:58 +0000 (07:29 -0500)
Remove unused variable to silence compiler warning

Signed-off-by: Joel Johnson <mrjoel@lixil.net>
cmd/zfs.c

index 153313063562815e721f5dee1abbd0702a1cd1ed..9c237a5758d430e15f7d808de6851e2e5c7697c6 100644 (file)
--- 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;