Patchwork [7/7] linux-user: Remove unused code

login
register
mail settings
Submitter Stefan Hajnoczi
Date Oct. 5, 2011, 8:47 a.m.
Message ID <1317804479-5876-8-git-send-email-stefanha@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/117775/
State New
Headers show

Comments

Stefan Hajnoczi - Oct. 5, 2011, 8:47 a.m.
From: Stefan Weil <sw@weilnetz.de>

The code is unused since 8 years, so remove it.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 linux-user/signal.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

Patch

diff --git a/linux-user/signal.c b/linux-user/signal.c
index 89276eb..40c5eb18 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -1274,10 +1274,7 @@  setup_return(CPUState *env, struct target_sigaction *ka,
 
 		if (__put_user(retcodes[idx], rc))
 			return 1;
-#if 0
-		flush_icache_range((abi_ulong)rc,
-				   (abi_ulong)(rc + 1));
-#endif
+
 		retcode = rc_addr + thumb;
 	}