From d024236e5a31a2b4b82cbcc98b31b8170fc88d28 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 18 Apr 2018 13:50:47 -0400 Subject: Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR We have a large number of places where while we historically referenced gd in the code we no longer do, as well as cases where the code added that line "just in case" during development and never dropped it. Signed-off-by: Tom Rini --- board/gdsys/mpc8308/hrcon.c | 2 -- board/gdsys/mpc8308/strider.c | 2 -- 2 files changed, 4 deletions(-) (limited to 'board/gdsys/mpc8308') diff --git a/board/gdsys/mpc8308/hrcon.c b/board/gdsys/mpc8308/hrcon.c index ed5cb33279..d1ed273a08 100644 --- a/board/gdsys/mpc8308/hrcon.c +++ b/board/gdsys/mpc8308/hrcon.c @@ -33,8 +33,6 @@ #include -DECLARE_GLOBAL_DATA_PTR; - #define MAX_MUX_CHANNELS 2 enum { diff --git a/board/gdsys/mpc8308/strider.c b/board/gdsys/mpc8308/strider.c index c8ea8a4ae0..c3b09b29d5 100644 --- a/board/gdsys/mpc8308/strider.c +++ b/board/gdsys/mpc8308/strider.c @@ -36,8 +36,6 @@ #include -DECLARE_GLOBAL_DATA_PTR; - #define MAX_MUX_CHANNELS 2 enum { -- cgit v1.2.1