Skip to content

Commit 9e207f3

Browse files
committed
removed redundant code
1 parent 3b56199 commit 9e207f3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

cmd/gpu_fakedev/gpu_fakedev.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -374,17 +374,6 @@ func saveSideCarFile(connections string) {
374374
}
375375
defer f.Close()
376376

377-
if len(connections) <= maxK8sLabelSize {
378-
line := fmt.Sprintf("xpumanager.intel.com/xe-links=%s", connections)
379-
fmt.Println(line)
380-
381-
if _, err := f.WriteString(line + "\n"); err != nil {
382-
panic(err)
383-
}
384-
385-
return
386-
}
387-
388377
// Write first line without Z prefix
389378
line := fmt.Sprintf("xpumanager.intel.com/xe-links=%s", connections[:maxK8sLabelSize])
390379
fmt.Println(line)

0 commit comments

Comments
 (0)