timer: dw-apb: remove unused DECLARE_GLOBAL_DATA_PTR
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Thu, 9 May 2019 20:11:55 +0000 (22:11 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 10 May 2019 20:48:11 +0000 (22:48 +0200)
The dw-apb timer does not use 'gd', so remove its declaration.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
drivers/timer/dw-apb-timer.c

index cb48801..86312b8 100644 (file)
@@ -17,8 +17,6 @@
 #define DW_APB_CURR_VAL                0x4
 #define DW_APB_CTRL            0x8
 
-DECLARE_GLOBAL_DATA_PTR;
-
 struct dw_apb_timer_priv {
        fdt_addr_t      regs;
 };