summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-18 19:00:33 -0400
committerTom Rini <trini@konsulko.com>2021-08-18 20:56:15 -0400
commit482bbee1956176bb09ab1b370e140795f8b3aefd (patch)
tree999fd7b7f49c99a1f67129a40953c2ee94f6b9e2
parent5779f40f7671c874b7e4bb891d87f8bc5b3f09a1 (diff)
downloadu-boot-TEST/check-for-sys-i2c-max-hops.tar.gz
TEST: Dead code checkTEST/check-for-sys-i2c-max-hops
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--include/i2c.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 1ddcb49cb1..4d7f0885e7 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -623,7 +623,6 @@ void i2c_early_init_f(void);
/* no muxes used bus = i2c adapters */
#define CONFIG_SYS_I2C_DIRECT_BUS 1
#define CONFIG_SYS_I2C_MAX_HOPS 0
-#define CONFIG_SYS_NUM_I2C_BUSES ll_entry_count(struct i2c_adapter, i2c)
#else
/* we use i2c muxes */
#undef CONFIG_SYS_I2C_DIRECT_BUS