From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOUey-0006PZ-4q for qemu-devel@nongnu.org; Thu, 19 Feb 2015 12:13:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOUes-0007uw-SZ for qemu-devel@nongnu.org; Thu, 19 Feb 2015 12:13:08 -0500 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:49625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOUes-0007IM-J1 for qemu-devel@nongnu.org; Thu, 19 Feb 2015 12:13:02 -0500 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 19 Feb 2015 17:12:26 -0000 From: Thomas Huth Date: Thu, 19 Feb 2015 18:12:18 +0100 Message-Id: <1424365943-27563-1-git-send-email-thuth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/5] Remove unused functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org, qemu-devel@nongnu.org Cc: Thomas Huth 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. v2: - Incorporated review feedback to keep the functions that still might be usefull (e.g. dropped the patch to remove unused functions in the block layer) - Added a patch to remove xen_cmos_set_s3_resume() Thomas Huth (5): migration: Remove unused functions ui: Removed unused functions ui/vnc: Remove vnc_stop_worker_thread() util: Remove unused functions xen: Remove xen_cmos_set_s3_resume() arch_init.c | 10 ------ include/hw/xen/xen.h | 1 - include/migration/migration.h | 3 -- include/migration/qemu-file.h | 2 - include/qemu-common.h | 4 -- include/qemu/compatfd.h | 1 - include/ui/console.h | 3 -- migration/migration.c | 9 ----- migration/qemu-file-buf.c | 53 --------------------------------- 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 - util/compatfd.c | 19 ------------ util/osdep.c | 66 ----------------------------------------- xen-hvm-stub.c | 4 -- 18 files changed, 0 insertions(+), 222 deletions(-)