summaryrefslogtreecommitdiff
path: root/hw/net/xgmac.c
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2017-07-13 09:44:38 +0200
committerJason Wang <jasowang@redhat.com>2017-07-17 20:13:55 +0800
commit5f997fd17b9be6a662fa7b5cc1305076cd6c8894 (patch)
tree0bf2b2fd6571303bd2133bdca851c0762403d098 /hw/net/xgmac.c
parent2484ff06249af64896885564b73af4f0750adfa2 (diff)
downloadqemu-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/xgmac.c')
0 files changed, 0 insertions, 0 deletions