[U-Boot] net: gem: Remove DECLARE_GLOBAL_DATA_PTR from gem driver
diff mbox series

Message ID 2228370655a53814889822e749a92b7328e6ab39.1568189397.git.michal.simek@xilinx.com
State New
Delegated to: Michal Simek
Headers show
Series
  • [U-Boot] net: gem: Remove DECLARE_GLOBAL_DATA_PTR from gem driver
Related show

Commit Message

Michal Simek Sept. 11, 2019, 8:09 a.m. UTC
GD is not used anywhere that's why there is no reason to have this macro
in the driver.

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

 drivers/net/zynq_gem.c | 2 --
 1 file changed, 2 deletions(-)

Patch
diff mbox series

diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 033efb819569..a2ed50fa1e55 100644
--- a/drivers/net/zynq_gem.c
+++ b/drivers/net/zynq_gem.c
@@ -26,8 +26,6 @@ 
 #include <asm/arch/sys_proto.h>
 #include <linux/errno.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /* Bit/mask specification */
 #define ZYNQ_GEM_PHYMNTNC_OP_MASK	0x40020000 /* operation mask bits */
 #define ZYNQ_GEM_PHYMNTNC_OP_R_MASK	0x20000000 /* read operation */