There are quite a lot of completely unused functions scattered around in the QEMU sources - here are some patches to remove at least some of them.
I've limited the patches now to the ones which have been ack'ed by the corresponding subsystem maintainers, so it should be really save now to apply these patches (I'll maybe re-post the other patches later again for further discusison). Michael, can you take these through your trivial-patches repository? Thomas Huth (3): ui: Removed unused functions ui/vnc: Remove vnc_stop_worker_thread() xen: Remove xen_cmos_set_s3_resume() include/hw/xen/xen.h | 1 - include/ui/console.h | 3 --- ui/console.c | 12 ------------ ui/d3des.c | 9 --------- ui/d3des.h | 6 ------ ui/input-legacy.c | 6 ------ ui/vnc-jobs.c | 13 ------------- ui/vnc-jobs.h | 1 - xen-hvm-stub.c | 4 ---- 9 files changed, 0 insertions(+), 55 deletions(-)