summaryrefslogtreecommitdiff
path: root/common/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/devices.c')
-rw-r--r--common/devices.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/devices.c b/common/devices.c
index 4839eac..7b4a1cd 100644
--- a/common/devices.c
+++ b/common/devices.c
@@ -158,8 +158,6 @@ int device_deregister(char *devname)
int devices_init (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
#ifndef CONFIG_ARM /* already relocated for current ARM implementation */
ulong relocation_offset = gd->reloc_off;
int i;
@@ -195,8 +193,6 @@ int devices_init (void)
#endif
drv_system_init ();
- gd-> flags |= GD_FLG_DEVINIT; /* device initialization done */
-
return (0);
}