Skip to content

Commit 7458a41

Browse files
author
Lou
committed
remove unused declaration
Signed-off-by: Lou <[email protected]>
1 parent 0b9d6a8 commit 7458a41

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

iscsi/iscsi.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ func sessionExists(tgtPortal, tgtIQN string) (bool, error) {
9696
if err != nil {
9797
return false, err
9898
}
99-
var existingSessions []iscsiSession
10099
for _, s := range sessions {
101100
if tgtIQN == s.IQN && tgtPortal == s.Portal {
102101
return true, nil

0 commit comments

Comments
 (0)