summaryrefslogtreecommitdiff
path: root/bt-host.c
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2015-11-11 09:59:26 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2015-12-22 16:01:07 +0800
commit49cffbc6079c27432b4635d5d03ce14a249d86e2 (patch)
tree72f1b2f26305756e3de42706a862fb8ea55630f6 /bt-host.c
parentc688084506cf2cf2eba4ba9df4e91abb6e3dab83 (diff)
downloadqemu-49cffbc6079c27432b4635d5d03ce14a249d86e2.tar.gz
virtio-blk: trivial code optimization
1. avoid possible superflous checking 2. make code more robustness ["make code more robustness" refers to avoiding integer underflows/overflows. --Stefan] Signed-off-by: Gonglei <arei.gonglei@huawei.com> Message-id: 1447207166-12612-1-git-send-email-arei.gonglei@huawei.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'bt-host.c')
0 files changed, 0 insertions, 0 deletions