projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
328d07c
)
tools/blktap2/vhd: Remove unused struct stat stats
author
Alistair Francis
<alistair.francis@xilinx.com>
Tue, 20 Dec 2016 19:46:58 +0000
(11:46 -0800)
committer
Wei Liu
<wei.liu2@citrix.com>
Thu, 22 Dec 2016 10:54:47 +0000
(10:54 +0000)
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 <alistair.francis@xilinx.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/blktap2/vhd/lib/libvhd-journal.c
patch
|
blob
|
history
diff --git
a/tools/blktap2/vhd/lib/libvhd-journal.c
b/tools/blktap2/vhd/lib/libvhd-journal.c
index 26e26e7c360e608632a6b0bfdf0ea61a4eadc41d..862890f0c5927cc562d4929030020ac9db9adf3e 100644
(file)
--- 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;