diff options
| author | Silviu-Mihai Popescu <[email protected]> | 2013-03-11 18:39:22 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-03-25 10:42:06 -0700 |
| commit | 2451a84839187cd9d150ff1bfac4f5febbcce7a6 (patch) | |
| tree | 85b69835c9a8dab587e9f60b01422ed4f318a8a9 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5bcdf0ce2bf31b09b8707f972c193c6118385526 (diff) | |
parport: use kmemdup instead of kmalloc + memcpy
This replaces calls to kmalloc followed by memcpy with a single call to
kmemdup. This was found via make coccicheck.
Signed-off-by: Silviu-Mihai Popescu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions