]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: pxa3xx_nand: remove dead code
authorBaruch Siach <baruch@tkos.co.il>
Thu, 29 Oct 2020 06:52:19 +0000 (08:52 +0200)
committerStefan Roese <sr@denx.de>
Thu, 29 Oct 2020 07:00:12 +0000 (08:00 +0100)
commit6d1edab44ce261f1500ba20b5587ffa8a6779d39
tree1698d2cf05ba62b4b0653c12ace8cb8c29285989
parent8dddfff4d83e4e29bb6d0eafa348b7b5f6c0e31b
mtd: pxa3xx_nand: remove dead code

The kfree() call is unreachable, and is not needed. Remove this call and
the fail_disable_clk label.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
drivers/mtd/nand/raw/pxa3xx_nand.c