Skip to content

Commit

Permalink
nvme: drop arguments from _create_nvmet_port()
Browse files Browse the repository at this point in the history
Always called without arguments, so drop the assignment.

Signed-off-by: Hannes Reinecke <[email protected]>
Reviewed-by: Daniel Wagner <[email protected]>
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
  • Loading branch information
hreinecke authored and kawasaki committed Nov 19, 2024
1 parent 840bf77 commit 222cd54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions common/nvme
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,10 @@ _fc_host_traddr() {
}

_create_nvmet_port() {
local trtype="${1:-$nvme_trtype}"
local traddr="${2:-$def_traddr}"
local adrfam="${3:-$def_adrfam}"
local trsvcid="${4:-$def_trsvcid}"
local trtype="${nvme_trtype}"
local traddr="${def_traddr}"
local adrfam="${def_adrfam}"
local trsvcid="${def_trsvcid}"
local portcfs

local port
Expand Down

0 comments on commit 222cd54

Please sign in to comment.