diff options
author | Shaoqin Huang <[email protected]> | 2022-10-20 23:27:34 -0700 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2022-12-28 05:28:09 -0500 |
commit | b9d978a89296c57fbbbd8ea647c303ce4d37028f (patch) | |
tree | 8c65295579a9c92e5d5e816b4c9a56ef468aed69 /scripts/gdb/linux/tasks.py | |
parent | 344686136d73501a18a9621de690ff7824a3d129 (diff) |
virtio_ring: 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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Xuan Zhuo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions