aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Dewar <alex.dewar@gmx.co.uk>2020-04-03 17:47:11 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2020-04-24 12:48:48 -0400
commitd1ec20a55f6c8ce485fd298a015ec83d7e5326d8 (patch)
treebd22fe58b78b6d6a96a7bdbca11e36e64ec9003e /tools/perf/scripts/python
parentscsi: aic7xxx: Use kzalloc() instead of kmalloc()+memset() (diff)
scsi: aic7xxx: Remove unnecessary NULL checks before kfree
There are a number of places in the aic7xxx driver where a NULL check is performed before a kfree(). However, kfree() already performs NULL checks so this is unnecessary. Remove the checks. Issue identified with Coccinelle. Link: https://lore.kernel.org/r/20200403164712.49579-1-alex.dewar@gmx.co.uk Signed-off-by: Alex Dewar <alex.dewar@gmx.co.uk> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions