commit | c4e115f08c08cb9f3b70247b42323e40b9afd1fd | [log] [tgz] |
---|---|---|
author | Jason Yan <yanaijie@huawei.com> | Mon Apr 20 20:38:05 2020 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed May 13 12:14:58 2020 -0400 |
tree | 0dec87560798eeaaa04a4b477db1d9cddd2583b5 | |
parent | da4ad88cab5867ee240dfd0585e9d115a8cc47db [diff] |
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>