diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-05-06 18:22:06 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-08-21 11:17:23 +0530 |
commit | 923b138388928ade722cba86c55145f3dfac1cab (patch) | |
tree | cd54467beee4ded9754ff138de250dfa2691fab4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8674ca395003272d8215e949838ef3b27d67afde (diff) |
dmaengine: mcf-edma: Use struct_size()
Use struct_size() instead of hand writing it.
This is less verbose and more informative.
'mcf_chan' is now unused and can be removed. In fact, it is shadowed by
another variable in the 'for' loop below. Keep this one.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/97c2bb1c9b69d0739da3762a7752ae6582c4ad02.1683390112.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions