From: Alistair Francis Date: Tue, 20 Dec 2016 19:46:58 +0000 (-0800) Subject: tools/blktap2/vhd: Remove unused struct stat stats X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~3080 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=341c75bf4661aa0b5411d5dcc6334ab22e0bb158;p=xen.git tools/blktap2/vhd: Remove unused struct stat stats The unsued variable 'struct stat stats' causes build errors in some situations. As it isn't used just remove it. Signed-off-by: Alistair Francis Reviewed-by: Doug Goldstein Acked-by: Wei Liu --- diff --git a/tools/blktap2/vhd/lib/libvhd-journal.c b/tools/blktap2/vhd/lib/libvhd-journal.c index 26e26e7c36..862890f0c5 100644 --- a/tools/blktap2/vhd/lib/libvhd-journal.c +++ b/tools/blktap2/vhd/lib/libvhd-journal.c @@ -1260,7 +1260,6 @@ vhd_journal_create(vhd_journal_t *j, const char *file, const char *jfile) int i, err; size_t size; off_t off; - struct stat stats; memset(j, 0, sizeof(vhd_journal_t)); j->jfd = -1;