diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-10-26 18:29:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-26 19:14:01 +0200 |
commit | 27e0bcd02990f7291adb0f111e300f06c495d509 (patch) | |
tree | 23f199e3fcbfc6117c78e3355041353b0a2607f5 /Documentation/x86 | |
parent | x86/build: Tuck away built-in firmware under FW_LOADER (diff) | |
download | linux-27e0bcd02990f7291adb0f111e300f06c495d509.tar.xz linux-27e0bcd02990f7291adb0f111e300f06c495d509.zip |
device property: Drop redundant NULL checks
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>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20211026162954.89811-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions