projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d2274c
)
net: gem: Remove DECLARE_GLOBAL_DATA_PTR from gem driver
author
Michal Simek
<michal.simek@xilinx.com>
Thu, 25 Apr 2019 18:30:22 +0000
(11:30 -0700)
committer
Michal 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
patch
|
blob
|
history
diff --git
a/drivers/net/zynq_gem.c
b/drivers/net/zynq_gem.c
index 033efb819569d75bc728386b9f9892fc16f263ac..a2ed50fa1e55a76b38e2484301a992a067450283 100644
(file)
--- 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 */