diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2017-07-13 09:44:38 +0200 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-07-17 20:13:55 +0800 |
commit | 5f997fd17b9be6a662fa7b5cc1305076cd6c8894 (patch) | |
tree | 0bf2b2fd6571303bd2133bdca851c0762403d098 /hw/net/net_tx_pkt.h | |
parent | 2484ff06249af64896885564b73af4f0750adfa2 (diff) | |
download | qemu-5f997fd17b9be6a662fa7b5cc1305076cd6c8894.zip |
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 <mprivozn@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/net_tx_pkt.h')
0 files changed, 0 insertions, 0 deletions