diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index d4e873ab813c58ff48599cde40c1a72ea3763549..a1e60753ae5a194749867051bcd8f6b46cf3e0d4 100644 --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -2523,12 +2523,11 @@ static void sysc_reinit_modules(struct sysc_soc_info *soc) struct sysc_module *module; struct list_head *pos; struct sysc *ddata; - int error = 0; list_for_each(pos, &sysc_soc->restored_modules) { module = list_entry(pos, struct sysc_module, node); ddata = module->ddata; - error = sysc_reinit_module(ddata, ddata->enabled); + sysc_reinit_module(ddata, ddata->enabled); } }