From: Michal Simek Date: Thu, 25 Apr 2019 18:30:22 +0000 (-0700) Subject: net: gem: Remove DECLARE_GLOBAL_DATA_PTR from gem driver X-Git-Tag: v2020.01-rc1~30^2~64 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=74969a074c37ade94ea628b9660c403658d504af;p=oweals%2Fu-boot.git net: gem: Remove DECLARE_GLOBAL_DATA_PTR from gem driver GD is not used anywhere that's why there is no reason to have this macro in the driver. Signed-off-by: Michal Simek --- diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 033efb8195..a2ed50fa1e 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_gem.c @@ -26,8 +26,6 @@ #include #include -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 */