commit | 7f4eec395351ef25166276ad9dc3390b83ab41b6 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Tue Feb 03 13:55:53 2015 +0100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Mar 16 18:50:14 2015 +1100 |
tree | 9c56c2acc95efa338ced09b2bdefd0ac9d194e2f | |
parent | 7e73a3b7f34240871fa5556d952e801178970741 [diff] |
powerpc: Delete unnecessary checks before 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> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>