diff options
| author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2017-12-15 18:41:46 +0000 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2017-12-22 09:59:52 +0800 |
| commit | 7c0348bd633aff5ff27d5c393008495175ca416b (patch) | |
| tree | 398d70e7773a3475528a128ddd03da15b984989f /scripts/qapi.py | |
| parent | cbbeca91819c8e08f4b85777f8dd1671314db586 (diff) | |
| download | focaccia-qemu-7c0348bd633aff5ff27d5c393008495175ca416b.tar.gz focaccia-qemu-7c0348bd633aff5ff27d5c393008495175ca416b.zip | |
eepro100: switch eepro100 e100_compute_mcast_idx() over to use net_crc32()
Instead of e100_compute_mcast_idx() using its own implementation, we can simply call net_crc32() directly and apply the bit shift inline. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions