diff options
| author | Dafna Hirschfeld <[email protected]> | 2018-02-27 23:44:27 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-03-01 17:21:49 +0100 |
| commit | 2d42ac21efe4a191f992ffd2d004b0a4e052102e (patch) | |
| tree | c9a8809e4db41ed9b234c42a98dc0f6f9b7fc10e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | bafc56491bf3ec090994fc3a2451ec3c68d5bc1b (diff) | |
staging: rtl8723bs: use kmemdup for allocation and copy
Use kmemdup instead of kzalloc and memcpy to simplify the code.
Issue found with coccicheck.
Signed-off-by: Dafna Hirschfeld <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions