diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-01-29 21:23:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-31 12:40:54 +0300 |
commit | 49814e2c9c5776c7dc7cfd151aba15bd91804c3c (patch) | |
tree | f820277a016ca471055065551ac33cd1d3a8d10c /tools/perf/builtin-report.c | |
parent | e662c16f822fe93ae11769cffb8bf0d867417633 (diff) | |
download | linux-49814e2c9c5776c7dc7cfd151aba15bd91804c3c.tar.xz |
usb: early: xhci-dbc: 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: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/b447a7e9778d3f9e6997eb9494f1687dc2d5d3bf.1675016180.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/builtin-report.c')
0 files changed, 0 insertions, 0 deletions