Skip to content

Commit

Permalink
utils/nvme: Remove "unreachable" panic
Browse files Browse the repository at this point in the history
I added this in here to prematurely appease a linter. No such linter
complaint exists so lets drop it.
  • Loading branch information
mmlb committed May 2, 2024
1 parent 50437e0 commit 24b989b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utils/nvme.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@ func parseSanicap(sanicap uint) ([]*common.Capability, error) {
})
case 0b11:
return nil, errSanicapNODMMASReserved
default:
panic("unreachable")
}

return caps, nil
Expand Down

0 comments on commit 24b989b

Please sign in to comment.