diff options
| author | Damien Le Moal <[email protected]> | 2022-02-20 12:18:08 +0900 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-02-22 21:31:21 -0500 |
| commit | 304fe11bdc25b4c8a6c9551590d256f647158805 (patch) | |
| tree | 957510bb1f292a52ecf493fecaf8210eb4cf1bdb /tools/perf/scripts/python/flamegraph.py | |
| parent | e29c47fe8946cc732b0e0d393b65b13c84bb69d0 (diff) | |
scsi: pm8001: Simplify pm8001_ccb_task_free()
The task argument of the pm8001_ccb_task_free() function can be inferred
from the ccb argument ccb_task field. So there is no need to have this
argument. Likewise, the ccb_index argument is always equal to the ccb tag
field and is not needed either. Remove both arguments and update all call
sites. The pm8001_ccb_task_free_done() helper is also modified to match
this change.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jack Wang <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions