diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2014-09-03 14:55:19 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2014-09-03 17:58:30 -0300 |
| commit | 93623c87a38533be4d8a636f29e58dbd01d3841b (patch) | |
| tree | 3ca499f475a3db89514935294515d03dd9b128d3 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | a7459a9d3ab932209e3340d5ae4dadf73147e8d5 (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