global_data: remove unused mxc_i2c specific field
authorBaruch Siach <baruch@tkos.co.il>
Wed, 25 Dec 2019 15:57:06 +0000 (17:57 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 27 Jan 2020 06:17:53 +0000 (07:17 +0100)
The srdata field is unused since commit 71204e95ce13228 ("i2c: mxc:
refactor i2c driver and support dm").

Cc: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
include/asm-generic/global_data.h

index 7587ba2ee586ac8cf172a7b86eca64f52faea387..5d027329fe0f048c6b9ba88b84510cfcbe734872 100644 (file)
@@ -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;