aboutsummaryrefslogtreecommitdiff
path: root/device_tree.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-05-23 18:07:20 +0200
committerJeff Cody <jcody@redhat.com>2018-06-05 10:15:12 -0400
commit03b036cc0ca3362ff1aacd70315f5e53f4234f5c (patch)
tree62bfd0a659349dc7865d2529839cc5ed9ffdfa2b /device_tree.c
parent41feb5b955f0d7c9d071b2c5adbc404ae2895c7a (diff)
downloadqemu-03b036cc0ca3362ff1aacd70315f5e53f4234f5c.zip
qemu-03b036cc0ca3362ff1aacd70315f5e53f4234f5c.tar.gz
qemu-03b036cc0ca3362ff1aacd70315f5e53f4234f5c.tar.bz2
sheepdog: cleanup repeated expression
The expression "SD_INODE_SIZE - sizeof(inode.data_vdi_id)" already has a macro defined for the same value (though with a nicer definition using offsetof). Replace it. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Fam Zheng <famz@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20180523160721.14018-2-pbonzini@redhat.com> Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions