diff options
-rw-r--r-- | drivers/i3c/master/i3c-master-cdns.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/i3c/master/i3c-master-cdns.c b/drivers/i3c/master/i3c-master-cdns.c index ad40162564b3..e828921513b8 100644 --- a/drivers/i3c/master/i3c-master-cdns.c +++ b/drivers/i3c/master/i3c-master-cdns.c | |||
@@ -1133,7 +1133,6 @@ static void cdns_i3c_master_upd_i3c_scl_lim(struct cdns_i3c_master *master) | |||
1133 | static int cdns_i3c_master_do_daa(struct i3c_master_controller *m) | 1133 | static int cdns_i3c_master_do_daa(struct i3c_master_controller *m) |
1134 | { | 1134 | { |
1135 | struct cdns_i3c_master *master = to_cdns_i3c_master(m); | 1135 | struct cdns_i3c_master *master = to_cdns_i3c_master(m); |
1136 | unsigned long old_i3c_scl_lim; | ||
1137 | u32 olddevs, newdevs; | 1136 | u32 olddevs, newdevs; |
1138 | int ret, slot; | 1137 | int ret, slot; |
1139 | u8 addrs[MAX_DEVS] = { }; | 1138 | u8 addrs[MAX_DEVS] = { }; |
@@ -1165,9 +1164,6 @@ static int cdns_i3c_master_do_daa(struct i3c_master_controller *m) | |||
1165 | newdevs = readl(master->regs + DEVS_CTRL) & DEVS_CTRL_DEVS_ACTIVE_MASK; | 1164 | newdevs = readl(master->regs + DEVS_CTRL) & DEVS_CTRL_DEVS_ACTIVE_MASK; |
1166 | newdevs &= ~olddevs; | 1165 | newdevs &= ~olddevs; |
1167 | 1166 | ||
1168 | /* Save the old limitation before add devices. */ | ||
1169 | old_i3c_scl_lim = master->i3c_scl_lim; | ||
1170 | |||
1171 | /* | 1167 | /* |
1172 | * Clear all retaining registers filled during DAA. We already | 1168 | * Clear all retaining registers filled during DAA. We already |
1173 | * have the addressed assigned to them in the addrs array. | 1169 | * have the addressed assigned to them in the addrs array. |