Re: [PATCH] [video/fbdev] fb_flashcursor: Remove redundant null check

From: Andy Shevchenko
Date: Sun Jul 26 2020 - 04:58:41 EST


On Sun, Jul 26, 2020 at 8:17 AM Gaurav Singh <gaurav1086@xxxxxxxxx> wrote:
>
> ops cannot be NULL as its being accessed later without

it's

> checks. Remove the redundant NULL check.

Commit message doesn't clarify why your fix is the correct one.
Maybe it's the other way around, missed check in the rest of the code there?

--
With Best Regards,
Andy Shevchenko