Tag: 7f4eec395351ef25166276ad9dc3390b83ab41b6

powerpc: Delete unnecessary checks before kfree()

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: Michael Ellerman — arch/powerpc/lib/rheap.c | 2 +- arch/powerpc/platforms/cell/celleb_pci.c | 5 ++— 2 files changed, 3 insertions(+), …

Continue reading