diff options
| author | Andy Shevchenko <[email protected]> | 2023-02-02 17:17:36 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-02-06 13:46:41 +0100 |
| commit | 9c0e6fbda803dfd66c05c1f683069b46bd4cbba0 (patch) | |
| tree | 71f4d2b2ac1aac3b1b6ecfe2d5fa8a9284ad75eb /tools/perf/scripts/python | |
| parent | be308d68785b205e483b3a0c61ba3a82da468f2c (diff) | |
usb: gadget: configfs: Use memcpy_and_pad()
Instead of zeroing some memory and then copying data in part or all of it,
use memcpy_and_pad().
This avoids writing some memory twice and should save a few cycles.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions