aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLarry Finger <[email protected]>2011-12-14 20:23:03 -0600
committerJohn W. Linville <[email protected]>2011-12-15 14:46:37 -0500
commit00d2ec0c5f5ae8507931efd8feb174f30370c12e (patch)
tree566a8007f815aa611a8d06770b1c828cb34cd291 /tools/perf/scripts/python
parent55e435de9153581fda21631f0e68bb793072234d (diff)
brcmsmac: Replace kmalloc/memset with kzalloc
In ai_attach(), space is allocated for an si_info struct. Immediately after the allocation, routine ai_doattach() is called and that allocated space is set to zero. As no other routine calls ai_doattach(), kzalloc() can be utilized. Signed-off-by: Larry Finger <[email protected]> Acked-by: Arend van Spriel <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions