xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xen: cleanup config.h
@ 2016-02-16 15:31 Juergen Gross
  0 siblings, 0 replies; only message in thread
From: Juergen Gross @ 2016-02-16 15:31 UTC (permalink / raw)
  To: keir, Ian.Campbell, andrew.cooper3, ian.jackson, tim,
	david.vrabel, jbeulich, xen-devel
  Cc: Juergen Gross

config.h contains an unused definition of mk_unsigned_long().

Remove it.

Signed-off-by: Juergen Gross <jgross@suse.com>
---
 xen/include/xen/config.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/xen/include/xen/config.h b/xen/include/xen/config.h
index d780121..a992933 100644
--- a/xen/include/xen/config.h
+++ b/xen/include/xen/config.h
@@ -77,15 +77,6 @@
 #define __STR(...) #__VA_ARGS__
 #define STR(...) __STR(__VA_ARGS__)
 
-#ifndef __ASSEMBLY__
-/* Turn a plain number into a C unsigned long constant. */
-#define __mk_unsigned_long(x) x ## UL
-#define mk_unsigned_long(x) __mk_unsigned_long(x)
-#else /* __ASSEMBLY__ */
-/* In assembly code we cannot use C numeric constant suffixes. */
-#define mk_unsigned_long(x) x
-#endif /* !__ASSEMBLY__ */
-
 #ifdef CONFIG_FLASK
 #define XSM_MAGIC 0xf97cff8c
 /* Maintain statistics on the access vector cache */
-- 
2.6.2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-16 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-16 15:31 [PATCH] xen: cleanup config.h Juergen Gross

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).