diff options
author | 2022-10-20 23:27:33 -0700 | |
---|---|---|
committer | 2022-12-28 05:28:09 -0500 | |
commit | 344686136d73501a18a9621de690ff7824a3d129 (patch) | |
tree | 0395b23205142f6e9dd4de7429c757df130096b9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vdpa/mlx5: Avoid overwriting CVQ iotlb (diff) | |
download | wireguard-linux-344686136d73501a18a9621de690ff7824a3d129.tar.xz wireguard-linux-344686136d73501a18a9621de690ff7824a3d129.zip |
virtio_pci: use helper function is_power_of_2()
Use helper function is_power_of_2() to check if num is power of two.
Minor readability improvement.
Signed-off-by: Shaoqin Huang <shaoqin.huang@intel.com>
Message-Id: <20221021062734.228881-2-shaoqin.huang@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions