summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorMarkus Elfring2015-11-06 11:00:23 +0100
committerMichael Ellerman2016-04-12 13:05:21 +0200
commit1050e689a63baffdadcd33498c15d859922504c0 (patch)
tree1af0608ec31c636af25167ade9bd9521e5ac3eb7 /arch/powerpc/Kconfig
parentdrivers: macintosh: rack-meter: fix bogus memsets (diff)
downloadkernel-qcow2-linux-1050e689a63baffdadcd33498c15d859922504c0.tar.gz
kernel-qcow2-linux-1050e689a63baffdadcd33498c15d859922504c0.tar.xz
kernel-qcow2-linux-1050e689a63baffdadcd33498c15d859922504c0.zip
cxl: Delete an unnecessary check before the function call "kfree"
The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Acked-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/Kconfig')
0 files changed, 0 insertions, 0 deletions