From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNUKy-0007ef-59 for qemu-devel@nongnu.org; Sun, 14 Oct 2012 15:59:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNUKx-0002BG-28 for qemu-devel@nongnu.org; Sun, 14 Oct 2012 15:59:00 -0400 From: Blue Swirl Date: Sun, 14 Oct 2012 19:58:48 +0000 Message-Id: Subject: [Qemu-devel] [PATCH 00/11] static patches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, blauwirbel@gmail.com I made a small tool to detect unused functions and variables. Here's some fixes. Blue Swirl (11): target-sparc: make do_unaligned_access static vl.c: add missing static vnc: add missing static and remove unused functions tap-win32: avoid a warning m48t59: remove unused m48t59_set_addr sun4c: remove unused functions slirp: remove unused function u_sleep ppc: add missing static and remove unused functions target-ppc: make some functions static arm: add missing static and remove unused functions exec: make some functions static console.h | 2 - cpu-common.h | 5 - exec-all.h | 2 - exec-obsolete.h | 4 - exec.c | 19 ++- hw/adb.c | 8 +- hw/adb.h | 4 - hw/devices.h | 3 - hw/i2c.h | 3 - hw/m48t59.c | 7 - hw/mac_nvram.c | 24 --- hw/nvram.h | 12 -- hw/omap.h | 1 - hw/omap_gpmc.c | 21 --- hw/pcmcia.h | 1 - hw/ppc.c | 54 +----- hw/ppc405.h | 6 - hw/ppc405_uc.c | 342 ------------------------------------- hw/ppc_mac.h | 2 - hw/pxa.h | 3 - hw/pxa2xx.c | 4 +- hw/pxa2xx_pcmcia.c | 21 --- hw/soc_dma.c | 52 ------ hw/soc_dma.h | 16 +-- hw/sun4c_intctl.c | 23 --- hw/sun4m.h | 4 - hw/tc6393xb.c | 16 -- hw/tmp105.c | 16 -- linux-user/arm/nwfpe/fpa11.c | 4 +- linux-user/arm/nwfpe/fpa11.h | 2 - linux-user/arm/nwfpe/fpa11_cprt.c | 8 +- net/tap-win32.c | 1 + slirp/misc.c | 14 -- slirp/misc.h | 1 - sysemu.h | 5 - target-ppc/cpu.h | 9 - target-ppc/mmu_helper.c | 11 +- target-sparc/cpu.h | 3 - target-sparc/ldst_helper.c | 8 +- ui/vnc-jobs.c | 46 +----- ui/vnc-jobs.h | 4 - ui/vnc.c | 14 +- ui/vnc.h | 5 - vl.c | 33 ++--- 44 files changed, 69 insertions(+), 774 deletions(-) -- 1.7.2.5