vnc: replace hweight_long() with ctpopl()
commit7c9209e7bfb8c09ab5a4cadaa84928d146874a05
authorCédric Le Goater <clg@kaod.org>
Mon, 13 Mar 2017 14:33:25 +0000 (13 15:33 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 12 May 2017 10:36:02 +0000 (12 12:36 +0200)
tree4d12e40a2895ca68ca8c16909765b71e645249ec
parent761d0f97a40a3a6b6a0f2fb75eea47a0cea42d14
vnc: replace hweight_long() with ctpopl()

ctpopl() has a better implementation than hweight_long() and ui/vnc.c
being the last user of hweight_long(), we can simply remove it.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1489415605-13105-1-git-send-email-clg@kaod.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/qemu/bitops.h
ui/vnc.c