diff options
| author | Chen Jiahao <chenjiahao16@huawei.com> | 2023-08-16 05:23:23 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-09-27 10:39:55 +0300 |
| commit | 16fae979ed6b2753c07bdc9943cd9892349b69d4 (patch) | |
| tree | 60bd240ba9c6e5514339c35d2e99a1551c99b969 /include/linux/timerqueue.h | |
| parent | e2f01278781f80ccb329218793d78980cdd8d3c3 (diff) | |
| download | linux-16fae979ed6b2753c07bdc9943cd9892349b69d4.tar.xz | |
media: usb: siano: Use kmemdup to simplify kmalloc and memcpy logic
Using kmemdup() helper function rather than implementing it again
with kmalloc() + memcpy(), which improves the code readability.
Signed-off-by: Chen Jiahao <chenjiahao16@huawei.com>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
