[PATCH] powerpc/83xx/mpc8349emitx: Drop unused variable

Michael Ellerman patch-notifications at ellerman.id.au
Wed Nov 17 22:23:29 AEDT 2021


On Wed, 10 Nov 2021 12:07:39 +0100, Uwe Kleine-König wrote:
> Commit 5d354dc35ebb ("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;
> 	      |      ^~~
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/83xx/mpc8349emitx: Drop unused variable
      https://git.kernel.org/powerpc/c/2da516d7ed0865bf9835830907f2f6631006d628

cheers


More information about the Linuxppc-dev mailing list