diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-04-20 14:38:05 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-13 18:14:58 +0200 |
commit | c4e115f08c08cb9f3b70247b42323e40b9afd1fd (patch) | |
tree | 0dec87560798eeaaa04a4b477db1d9cddd2583b5 /arch/x86/kvm/svm | |
parent | kvm: Replace vcpu->swait with rcuwait (diff) | |
download | linux-c4e115f08c08cb9f3b70247b42323e40b9afd1fd.tar.xz linux-c4e115f08c08cb9f3b70247b42323e40b9afd1fd.zip |
kvm/eventfd: remove unneeded conversion to bool
The '==' expression itself is bool, no need to convert it to bool again.
This fixes the following coccicheck warning:
virt/kvm/eventfd.c:724:38-43: WARNING: conversion to bool not needed
here
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Message-Id: <20200420123805.4494-1-yanaijie@huawei.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm')
0 files changed, 0 insertions, 0 deletions