commit | 9803af291162dbca4b9773586a3f5c392f0dd974 | [log] [tgz] |
---|---|---|
author | Sourabh Jain <sourabhjain@linux.ibm.com> | Thu May 02 23:50:40 2024 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri May 03 12:20:50 2024 +1000 |
tree | 135fc0dd20d91382cbd6451582fe100a944ced7c | |
parent | 849599b702ef8977fcd5b2f27c61ef773c42bb88 [diff] |
powerpc/crash: remove unnecessary NULL check before kvfree() Fix the following coccicheck build warning: arch/powerpc/kexec/crash.c:488:2-8: WARNING: NULL check before some freeing functions is not needed. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202404261048.skfV5DDB-lkp@intel.com/ Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240502182040.774759-1-sourabhjain@linux.ibm.com