diff mbox series

[v2] arm64: versal: Remove gd reference

Message ID 1b0d2f348ba0180726eb74b750bd305d53de3f48.1618837578.git.michal.simek@xilinx.com
State Accepted
Commit e59d575d3efd86eccb483f5261d341164a7e31ec
Delegated to: Michal Simek
Headers show
Series [v2] arm64: versal: Remove gd reference | expand

Commit Message

Michal Simek April 19, 2021, 1:06 p.m. UTC
gd is not used in this file that's why doesn't make sense to declare it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

Changes in v2:
- drop asm/global_data.h - reported by trini

 arch/arm/mach-versal/mp.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Michal Simek April 23, 2021, 6:49 a.m. UTC | #1
po 19. 4. 2021 v 15:06 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> gd is not used in this file that's why doesn't make sense to declare it.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> Changes in v2:
> - drop asm/global_data.h - reported by trini
>
>  arch/arm/mach-versal/mp.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/arch/arm/mach-versal/mp.c b/arch/arm/mach-versal/mp.c
> index c97c311d3130..9b0518d6a2cd 100644
> --- a/arch/arm/mach-versal/mp.c
> +++ b/arch/arm/mach-versal/mp.c
> @@ -5,13 +5,10 @@
>   */
>
>  #include <common.h>
> -#include <asm/global_data.h>
>  #include <asm/io.h>
>  #include <asm/arch/hardware.h>
>  #include <asm/arch/sys_proto.h>
>
> -DECLARE_GLOBAL_DATA_PTR;
> -
>  #define HALT           0
>  #define RELEASE                1
>
> --
> 2.31.1
>

Applied.
M
diff mbox series

Patch

diff --git a/arch/arm/mach-versal/mp.c b/arch/arm/mach-versal/mp.c
index c97c311d3130..9b0518d6a2cd 100644
--- a/arch/arm/mach-versal/mp.c
+++ b/arch/arm/mach-versal/mp.c
@@ -5,13 +5,10 @@ 
  */
 
 #include <common.h>
-#include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/sys_proto.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define HALT		0
 #define RELEASE		1