aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-05-03 08:31:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-05 22:39:19 +0200
commit28dc563339b181461494918d5d155e3ebc9a87ec (patch)
tree150905353f3b6d3aff552f004f9146a19cc6093b /tools/perf/scripts/python
parentserial: pic32: don't assign pic32_sport::cts_gpio twice (diff)
downloadlinux-28dc563339b181461494918d5d155e3ebc9a87ec.tar.gz
linux-28dc563339b181461494918d5d155e3ebc9a87ec.zip
serial: pic32: don't zero members of kzalloc-ated structure
struct pic32_sport (sport) has just been kzallocated. So there is no need to zero its member (sport->port) now. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220503063122.20957-10-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions