From: Baruch Siach Date: Wed, 25 Dec 2019 15:57:06 +0000 (+0200) Subject: global_data: remove unused mxc_i2c specific field X-Git-Tag: v2020.04-rc2~24^2~23 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=36608b2a843eedc8c44e56cdf2ed5d62ef5e104c;p=oweals%2Fu-boot.git global_data: remove unused mxc_i2c specific field The srdata field is unused since commit 71204e95ce13228 ("i2c: mxc: refactor i2c driver and support dm"). Cc: Peng Fan Signed-off-by: Baruch Siach Reviewed-by: Peng Fan --- diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 7587ba2ee5..5d027329fe 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -89,9 +89,6 @@ typedef struct global_data { #endif #if defined(CONFIG_SYS_I2C) int cur_i2c_bus; /* current used i2c bus */ -#endif -#ifdef CONFIG_SYS_I2C_MXC - void *srdata[10]; #endif unsigned int timebase_h; unsigned int timebase_l;