aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSelvin Xavier <[email protected]>2023-06-13 11:12:19 -0700
committerJason Gunthorpe <[email protected]>2023-06-21 14:13:17 -0300
commit7d3115eba3e3eef6e0cbe65f05285c5ab28360d7 (patch)
treeeb95ec473e1fe9f57cc253bc671fd52a546b378e /tools/perf/util/trace-event-scripting.c
parent390bf429cc6ce6844f834b1d9ddfbc1125aff1fc (diff)
RDMA/bnxt_re: Optimize the bnxt_re_init_hwrm_hdr usage
As of now bnxt_re_init_hwrm_hdr is taking only the opcode from the caller. compl_ring and target_id field is always -1. These fields might be changed when newer features are added. For now, removing these parameters as they are hard coded. Also, remove the rdev field which is not used. Also, initialize the structure bnxt_fw_msg during declaration itself. Link: https://lore.kernel.org/r/[email protected] Suggested-by: Leon Romanovsky <[email protected]> Signed-off-by: Selvin Xavier <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions