[PATCH] mtd: nand: lpc32xx_slc: Remove unneeded NULL check on 'rc'

Fabio Estevam festevam at gmail.com
Tue Nov 29 11:04:08 PST 2016


Hi Marek,

On Tue, Nov 29, 2016 at 3:30 PM, Marek Vasut <marek.vasut at gmail.com> wrote:

> I can understand the original code where you avoid calling the malloc()
> in case of failure, but that looks like microoptimization to me.

I did not work on this driver before, so I did not touch the original code.

> Acked-by: Marek Vasut <marek.vasut at gmail.com>

Thanks!



More information about the linux-mtd mailing list