aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFelix Schlepper <[email protected]>2022-06-24 15:54:54 +0200
committerGreg Kroah-Hartman <[email protected]>2022-06-27 13:50:03 +0200
commit9fdc63fe40faaffeecaf3f1425dd1b27892f96fc (patch)
treec44f59d5cbf751f34c5c37ead63e993a87002c8e /tools/perf/scripts/python
parent71eac0c07c7b26063bf5ee14a082e05421688552 (diff)
Staging: rtl8192e: Using kzalloc and delete memset
By using kzalloc, we can delete a memset. The practical difference is that using kzalloc() will zero out the txb->fragments[] array. The original code worked fine, but zeroing everything seems nicer. Signed-off-by: Felix Schlepper <[email protected]> Link: https://lore.kernel.org/r/9727fe31c675f2f3052ca2fa586d137dd856ac91.1656078068.git.f3sch.git@outlook.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions