summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-10-18 17:59:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-21 23:04:23 +0200
commit421359cbdbdcaea93b83e1e6b61eb261b75b1998 (patch)
treed5fb629641010cd05708c8d5c6dcffc745d0efc0 /tools/perf
parent12280cc708f28357e7ad85bab2bcc3715e59a8f7 (diff)
parport: Drop even more unneeded NULL or 0 assignments
kzalloc() gives us a zeroed memory, no need to explicitly assing 0 or NULL or similar to the members of the data structure that has been allocated with the above mentioned API. Note, the initializstion of full_list member is not needed anymore as list_add_tail will rewrite the contents of the prev and next pointers. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20231018145948.1367648-2-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions