aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-01-29 19:23:09 +0100
committerGreg Kroah-Hartman <[email protected]>2023-01-31 10:40:54 +0100
commite662c16f822fe93ae11769cffb8bf0d867417633 (patch)
tree95e72a42fb81efd443f5f747cb8beb5c55619e73 /tools/perf/scripts/python/bin/task-analyzer-record
parenta4a97ab3db5c081eb6e7dba91306adefb461e0bd (diff)
usb: early: xhci-dbc: Optimize early_xdbc_write()
There is no point in zeroing 'buf'. It would be cleared only once, and if the 'while' loop is executed several times, all but the first run would have a 'dirty' buffer. Moreover, the size of the chunk is computed in the loop and this size is passed to xdbc_bulk_write(). So remove this useless memset(). Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/687bbcd940c59fbddd0e3a8b578fd3422962e50f.1675016180.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions