diff options
| author | Tom Rini <[email protected]> | 2018-04-18 13:50:47 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-04-27 14:54:48 -0400 |
| commit | d024236e5a31a2b4b82cbcc98b31b8170fc88d28 (patch) | |
| tree | ab4d96f1b0c5e3991b97708f72679a7af7234222 /cmd | |
| parent | f1b1f77060beadbfe9f42a3be00019bd025afbd6 (diff) | |
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 <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/aes.c | 2 | ||||
| -rw-r--r-- | cmd/blob.c | 2 | ||||
| -rw-r--r-- | cmd/booti.c | 2 | ||||
| -rw-r--r-- | cmd/cros_ec.c | 2 | ||||
| -rw-r--r-- | cmd/i2c.c | 2 |
5 files changed, 0 insertions, 10 deletions
diff --git a/cmd/aes.c b/cmd/aes.c index 9d1a740beea..23bc88038f5 100644 --- a/cmd/aes.c +++ b/cmd/aes.c @@ -14,8 +14,6 @@ #include <asm/byteorder.h> #include <linux/compiler.h> -DECLARE_GLOBAL_DATA_PTR; - /** * do_aes() - Handle the "aes" command-line command * @cmdtp: Command data struct pointer diff --git a/cmd/blob.c b/cmd/blob.c index bdd4cfda0b3..ae06ba70aed 100644 --- a/cmd/blob.c +++ b/cmd/blob.c @@ -12,8 +12,6 @@ #include <asm/byteorder.h> #include <linux/compiler.h> -DECLARE_GLOBAL_DATA_PTR; - /** * blob_decap() - Decapsulate the data as a blob * @key_mod: - Pointer to key modifier/key diff --git a/cmd/booti.c b/cmd/booti.c index fff93697635..f1e607ae0dd 100644 --- a/cmd/booti.c +++ b/cmd/booti.c @@ -14,8 +14,6 @@ #include <linux/kernel.h> #include <linux/sizes.h> -DECLARE_GLOBAL_DATA_PTR; - /* * Image booting support */ diff --git a/cmd/cros_ec.c b/cmd/cros_ec.c index af0b4eee783..c1e28508875 100644 --- a/cmd/cros_ec.c +++ b/cmd/cros_ec.c @@ -17,8 +17,6 @@ /* Note: depends on enum ec_current_image */ static const char * const ec_current_image_name[] = {"unknown", "RO", "RW"}; -DECLARE_GLOBAL_DATA_PTR; - /** * Decode a flash region parameter * diff --git a/cmd/i2c.c b/cmd/i2c.c index bfddf8be1b9..8eca6fffaad 100644 --- a/cmd/i2c.c +++ b/cmd/i2c.c @@ -79,8 +79,6 @@ #include <asm/byteorder.h> #include <linux/compiler.h> -DECLARE_GLOBAL_DATA_PTR; - /* Display values from last command. * Memory modify remembered values are different from display memory. */ |
