Skip to content

Commit

Permalink
nvme/048: remove unused argument for set_qid_max
Browse files Browse the repository at this point in the history
The port is argument is unsed, thus remove it.

Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Daniel Wagner <[email protected]>
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
  • Loading branch information
igaw authored and kawasaki committed Mar 5, 2024
1 parent 0520ff2 commit d9bb2b7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/nvme/048
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ set_nvmet_attr_qid_max() {
}

set_qid_max() {
local port="$1"
local subsys_name="$2"
local qid_max="$3"
local subsys_name="$1"
local qid_max="$2"

set_nvmet_attr_qid_max "${subsys_name}" "${qid_max}"
nvmf_wait_for_state "${subsys_name}" "live" || return 1
Expand Down Expand Up @@ -100,8 +99,8 @@ test() {
if ! nvmf_wait_for_state "${def_subsysnqn}" "live" ; then
echo FAIL
else
set_qid_max "${port}" "${def_subsysnqn}" 1 || echo FAIL
set_qid_max "${port}" "${def_subsysnqn}" 2 || echo FAIL
set_qid_max "${def_subsysnqn}" 1 || echo FAIL
set_qid_max "${def_subsysnqn}" 2 || echo FAIL
fi

_nvme_disconnect_subsys "${def_subsysnqn}"
Expand Down

0 comments on commit d9bb2b7

Please sign in to comment.