bus: ti-sysc: Fix variable set but not used warning for reinit_modules
authorTony Lindgren <tony@atomide.com>
Wed, 6 Oct 2021 05:38:09 +0000 (08:38 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Dec 2021 08:30:59 +0000 (09:30 +0100)
commite24fc8983025565e24f9438d3d514c280fecb0b7
treec0b2acc763197249460e47a138293d67bac2c0a0
parent70692b06208c09c3cc2a0de2aaef63f4f139970a
bus: ti-sysc: Fix variable set but not used warning for reinit_modules

commit 1b1da99b845337362a3dafe0f7b49927ab4ae041 upstream.

Fix drivers/bus/ti-sysc.c:2494:13: error: variable 'error' set but not
used introduced by commit 9d881361206e ("bus: ti-sysc: Add quirk handling
for reinit on context lost").

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/ti-sysc.c