[PATCH] mtd: nand: raw: atmel: remove unnecessary return value

Marcus Folkesson marcus.folkesson at gmail.com
Fri Aug 30 08:59:46 CEST 2024


On Fri, Aug 09, 2024 at 02:15:43PM +0200, Marcus Folkesson wrote:
> The condition 'ret' is always true as it is never set to other than
> -EIO.
> 
> Remove 'ret' and the condition for copy.
> 
> Signed-off-by: Marcus Folkesson <marcus.folkesson at gmail.com>
> ---

Any more thoughts on this?

Thanks,
Marcus Folkesson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240830/a6cbbe29/attachment.sig>


More information about the U-Boot mailing list