xen/decompress: drop STATIC and INIT
authorJan Beulich <jbeulich@suse.com>
Thu, 29 Apr 2021 14:03:38 +0000 (16:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 29 Apr 2021 14:03:38 +0000 (16:03 +0200)
Except for one last instance, all users have been removed in earlier
changes.

Requested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/efi/efi-dom0.c
xen/common/decompress.h

index 1c356540f7301056bafbe2715bb3cb094b6db5cf..494420eaa23e475bb1c4b0a563239531b20b1aa7 100644 (file)
@@ -28,7 +28,7 @@
 #include <asm/setup.h>
 #include <asm/acpi.h>
 #include "../../../common/decompress.h"
-#define XZ_EXTERN STATIC
+#define XZ_EXTERN static
 #include "../../../common/xz/crc32.c"
 
 /* Constant to indicate "Xen" in unicode u16 format */
index 7144fb46cebda3ba0ac45374ba3981bf4685d880..e8195b353a1501f2531e054463a7885911d63325 100644 (file)
@@ -7,9 +7,6 @@
 #include <xen/types.h>
 #include <xen/xmalloc.h>
 
-#define STATIC static
-#define INIT __init
-
 #define malloc xmalloc_bytes
 #define free xfree
 
@@ -18,9 +15,6 @@
 
 #else
 
-#define STATIC static
-#define INIT
-
 #undef __init /* tools/libs/guest/xg_private.h has its own one */
 #define __init
 #define __initdata