summaryrefslogtreecommitdiffstats
path: root/net/hub.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2015-08-25 17:24:39 +0200
committerLaurent Vivier <lvivier@redhat.com>2015-09-25 14:56:38 +0200
commitab60b7485cece312ad9c21327ee678f0f9898fb5 (patch)
tree9b48212588eb3d2d288f3c1030376788d4de662a /net/hub.c
parentfdfea124f9e12232f99d9f235267ca1eeeb23469 (diff)
downloadhqemu-ab60b7485cece312ad9c21327ee678f0f9898fb5.zip
hqemu-ab60b7485cece312ad9c21327ee678f0f9898fb5.tar.gz
net: remove muldiv64()
muldiv64() is used to convert nanoseconds to microseconds. x = muldiv64(qemu_clock_get_ns(..), 1000000, get_ticks_per_sec()); As get_ticks_per_sec() is 10^9, it can be replaced by: x = qemu_clock_get_us(..); Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'net/hub.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud