[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75Vf0F+vtgg_NB0dL5Ck9m4_7fEHyH84mWrhTOXrEoL5SGA@mail.gmail.com>
Date: Sun, 26 Jul 2020 11:58:20 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Gaurav Singh <gaurav1086@...il.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Qiujun Huang <hqjagain@...il.com>,
Sam Ravnborg <sam@...nborg.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Peter Rosin <peda@...ntia.se>,
Nathan Chancellor <natechancellor@...il.com>,
"open list:FRAMEBUFFER LAYER" <dri-devel@...ts.freedesktop.org>,
"open list:FRAMEBUFFER LAYER" <linux-fbdev@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] [video/fbdev] fb_flashcursor: Remove redundant null check
On Sun, Jul 26, 2020 at 8:17 AM Gaurav Singh <gaurav1086@...il.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
Powered by blists - more mailing lists