]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: gem: Remove DECLARE_GLOBAL_DATA_PTR from gem driver
authorMichal Simek <michal.simek@xilinx.com>
Thu, 25 Apr 2019 18:30:22 +0000 (11:30 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 8 Oct 2019 07:35:43 +0000 (09:35 +0200)
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

index 033efb819569d75bc728386b9f9892fc16f263ac..a2ed50fa1e55a76b38e2484301a992a067450283 100644 (file)
@@ -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 */