diff options
| author | Damien Le Moal <[email protected]> | 2022-02-20 12:18:06 +0900 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-02-22 21:31:21 -0500 |
| commit | f91767a35f0951ac30a6607497b3b9aa2b79d74e (patch) | |
| tree | afe7ca7480561dd6d7a43fc8cb2d930085f993f0 /tools/perf/scripts/python | |
| parent | 99df0edb5a9849ef8d63b972e3ccba463b0053de (diff) | |
scsi: pm8001: Simplify pm8001_mpi_build_cmd() interface
There is no need to pass a pointer to a struct inbound_queue_table to
pm8001_mpi_build_cmd(). Passing the start index in the inbound queue table
of the adapter is enough. This change allows avoiding the declaration of a
struct inbound_queue_table pointer (circularQ variables) in many functions,
simplifying the code.
While at it, blank lines are added i(e.g. after local variable
declarations) to make the code more readable.
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')
0 files changed, 0 insertions, 0 deletions