commit | 5f997fd17b9be6a662fa7b5cc1305076cd6c8894 | [log] [tgz] |
---|---|---|
author | Michal Privoznik <mprivozn@redhat.com> | Thu Jul 13 09:44:38 2017 +0200 |
committer | Jason Wang <jasowang@redhat.com> | Mon Jul 17 20:13:55 2017 +0800 |
tree | 0bf2b2fd6571303bd2133bdca851c0762403d098 | |
parent | 2484ff06249af64896885564b73af4f0750adfa2 [diff] |
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>