diff options
| author | Mark Cave-Ayland | 2017-12-15 19:41:55 +0100 |
|---|---|---|
| committer | Jason Wang | 2017-12-22 03:01:27 +0100 |
| commit | d9caeb09b107e91122d10ba4a08a4af2b59c69cf (patch) | |
| tree | 7f2d70f59d5c5e271e4d6efc19a6517f964dd756 | |
| parent | rtl8139: use inline net_crc32() and bitshift instead of compute_mcast_idx() (diff) | |
| download | qemu-d9caeb09b107e91122d10ba4a08a4af2b59c69cf.tar.gz qemu-d9caeb09b107e91122d10ba4a08a4af2b59c69cf.tar.xz qemu-d9caeb09b107e91122d10ba4a08a4af2b59c69cf.zip | |
net: remove unused compute_mcast_idx() function
Now that all of the callers have been converted to compute the multicast index
inline using new net CRC functions, this function can now be dropped.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Jason Wang <jasowang@redhat.com>
| -rw-r--r-- | net/net.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -1625,11 +1625,6 @@ uint32_t net_crc32_le(const uint8_t *p, int len) return crc; } -unsigned compute_mcast_idx(const uint8_t *ep) -{ - return net_crc32(ep, ETH_ALEN) >> 26; -} - QemuOptsList qemu_netdev_opts = { .name = "netdev", .implied_opt_name = "type", |
