diff options
Diffstat (limited to 'cmd/date.c')
-rw-r--r-- | cmd/date.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd/date.c b/cmd/date.c index 755adec1e71..bdb3e199b43 100644 --- a/cmd/date.c +++ b/cmd/date.c @@ -42,12 +42,6 @@ static int do_date(struct cmd_tbl *cmdtp, int flag, int argc, return CMD_RET_FAILURE; } } -#elif CONFIG_IS_ENABLED(SYS_I2C_LEGACY) - old_bus = i2c_get_bus_num(); - i2c_set_bus_num(CFG_SYS_RTC_BUS_NUM); -#else - old_bus = I2C_GET_BUS(); - I2C_SET_BUS(CFG_SYS_RTC_BUS_NUM); #endif switch (argc) { |