qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] disas/arm: Remove redefinition of ATTRIBUTE_UNUSED
@ 2014-09-18 17:25 Tobias Klauser
  2014-09-24  7:58 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
  0 siblings, 1 reply; 5+ messages in thread
From: Tobias Klauser @ 2014-09-18 17:25 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial

ATTRIBUTE_UNUSED is already defined in disas/bfd.h, which is included.
Thus, there is no need to redefine it.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 disas/arm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/disas/arm.c b/disas/arm.c
index 76e97a8..6f63406 100644
--- a/disas/arm.c
+++ b/disas/arm.c
@@ -23,7 +23,6 @@
    for things we don't care about.  */
 
 #include "disas/bfd.h"
-#define ATTRIBUTE_UNUSED __attribute__((unused))
 #define ISSPACE(x) ((x) == ' ' || (x) == '\t' || (x) == '\n')
 
 #define ARM_EXT_V1	 0
-- 
2.0.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-24 11:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-18 17:25 [Qemu-devel] [PATCH] disas/arm: Remove redefinition of ATTRIBUTE_UNUSED Tobias Klauser
2014-09-24  7:58 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2014-09-24  9:09   ` Peter Maydell
2014-09-24 11:39     ` Tobias Klauser
2014-09-24 11:37   ` Tobias Klauser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).