lkml.org 
[lkml]   [2021]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 1/1] device property: Drop redundant NULL checks
On Tue, Oct 26, 2021 at 06:52:39PM +0200, Rafael J. Wysocki wrote:
> On Tue, Oct 26, 2021 at 6:30 PM Andy Shevchenko
> <andriy.shevchenko@linux.intel.com> wrote:
> >
> > In cases when functions are called via fwnode operations,
> > we already know that this is software node we are dealing
> > with, hence no need to check if it's NULL, it can't be,
> >
> > Reported-by: YE Chengfeng <cyeaa@connect.ust.hk>
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> or please let me know if I need to pick this up.

I can take it, thanks!

greg k-h

\
 
 \ /
  Last update: 2021-10-26 19:13    [W:0.046 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site