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

Andy Shevchenko andy.shevchenko at gmail.com
Sun Jul 26 08:58:20 UTC 2020


On Sun, Jul 26, 2020 at 8:17 AM Gaurav Singh <gaurav1086 at gmail.com> 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


More information about the dri-devel mailing list