[PATCH v1 5/5] thunderbolt: Drop duplicate NULL checks around nvmem_unregister()

Mika Westerberg mika.westerberg at linux.intel.com
Tue Jan 4 07:27:48 PST 2022


On Tue, Jan 04, 2022 at 03:38:43PM +0200, Andy Shevchenko wrote:
> Since nvmem_unregister() checks for NULL, no need to repeat in
> the caller. Drop duplicate NULL checks.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Acked-by: Mika Westerberg <mika.westerberg at linux.intel.com>



More information about the linux-mtd mailing list