virt: acrn: using for_each_set_bit to simplify the code
authorYang Yingliang <yangyingliang@huawei.com>
Mon, 4 Jul 2022 12:50:44 +0000 (20:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Jul 2022 13:42:10 +0000 (15:42 +0200)
commite5535ff173318775f2c52b7f072bb3abf03b5b0f
treebbeec04e4de5122934b16bd24f8fcabefaff8965
parent64c591661e4948257aac9b586394a25a7c64ec69
virt: acrn: using for_each_set_bit to simplify the code

It's more cleanly to use for_each_set_bit() instead of opencoding it.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Fei Li <fei1.li@intel.com>
Link: https://lore.kernel.org/r/20220704125044.2192381-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/virt/acrn/ioreq.c