diff options
| author | Paolo Bonzini | 2018-05-23 18:07:20 +0200 |
|---|---|---|
| committer | Jeff Cody | 2018-06-05 16:15:12 +0200 |
| commit | 03b036cc0ca3362ff1aacd70315f5e53f4234f5c (patch) | |
| tree | 62bfd0a659349dc7865d2529839cc5ed9ffdfa2b /scripts/switch-timer-api | |
| parent | Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-3.0-pull-re... (diff) | |
| download | qemu-03b036cc0ca3362ff1aacd70315f5e53f4234f5c.tar.gz qemu-03b036cc0ca3362ff1aacd70315f5e53f4234f5c.tar.xz qemu-03b036cc0ca3362ff1aacd70315f5e53f4234f5c.zip | |
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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
