diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-05-23 18:07:20 +0200 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2018-06-05 10:15:12 -0400 |
commit | 03b036cc0ca3362ff1aacd70315f5e53f4234f5c (patch) | |
tree | 62bfd0a659349dc7865d2529839cc5ed9ffdfa2b /qga | |
parent | 41feb5b955f0d7c9d071b2c5adbc404ae2895c7a (diff) | |
download | qemu-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 'qga')
0 files changed, 0 insertions, 0 deletions