]> Git Repo - qemu.git/commit
virtion-net: Prefer is_power_of_2()
authorMichal Privoznik <[email protected]>
Thu, 13 Jul 2017 07:44:38 +0000 (09:44 +0200)
committerJason Wang <[email protected]>
Mon, 17 Jul 2017 12:13:55 +0000 (20:13 +0800)
commit5f997fd17b9be6a662fa7b5cc1305076cd6c8894
tree0bf2b2fd6571303bd2133bdca851c0762403d098
parent2484ff06249af64896885564b73af4f0750adfa2
virtion-net: Prefer is_power_of_2()

We have a function that checks if given number is power of two.
We should prefer it instead of expanding the check on our own.

Signed-off-by: Michal Privoznik <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
hw/net/virtio-net.c
This page took 0.025038 seconds and 4 git commands to generate.