Skip to content

Commit 2da516d

Browse files
Uwe Kleine-Königmpe
authored andcommitted
powerpc/83xx/mpc8349emitx: Drop unused variable
Commit 5d354dc ("powerpc/83xx/mpc8349emitx: Make mcu_gpiochip_remove() return void") removed the usage of the variable ret, but failed to remove the variable itself, resulting in: arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c: In function ‘mcu_remove’: arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c:189:6: error: unused variable ‘ret’ [-Werror=unused-variable] 189 | int ret; | ^~~ So remove the variable now. Reported-by: Linux Kernel Functional Testing <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent dae5818 commit 2da516d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ static int mcu_probe(struct i2c_client *client)
186186
static int mcu_remove(struct i2c_client *client)
187187
{
188188
struct mcu *mcu = i2c_get_clientdata(client);
189-
int ret;
190189

191190
kthread_stop(shutdown_thread);
192191

0 commit comments

Comments
 (0)