aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorJay Fang <[email protected]>2021-05-10 14:58:21 +0800
committerMark Brown <[email protected]>2021-05-10 13:07:51 +0100
commit856a9260e17129303102a7d4a5f71b7a8739e5b9 (patch)
tree3655ef42b059f8a170581cb23742a8e62268622d /tools/perf/scripts/python/compaction-times.py
parent66fe740317c82b0caa68ed8d756536d4ff7e910c (diff)
spi: omap-100k: Clean the value of 'status' is not used
An error code is set to 'status' before exiting list_for_each_entry() loop, but the value of 'status' is not used as below: list_for_each_entry(t, &m->transfers, transfer_list) { if (t->tx_buf == NULL && t->rx_buf == NULL && t->len) { status = -EINVAL; break; } ... } status = omap1_spi100k_setup_transfer(spi, NULL); Signed-off-by: Jay Fang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions