aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2014-09-03 14:55:19 -0300
committerMauro Carvalho Chehab <[email protected]>2014-09-03 17:58:30 -0300
commit93623c87a38533be4d8a636f29e58dbd01d3841b (patch)
tree3ca499f475a3db89514935294515d03dd9b128d3 /tools/perf/scripts/python/net_dropmonitor.py
parenta7459a9d3ab932209e3340d5ae4dadf73147e8d5 (diff)
[media] soc_camera: use kmemdup()
Instead of calling kzalloc and then copying, use kmemdup(). That avoids zeroing the data structure before copying. Found by coccinelle. Acked-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions