fix: remove useless print

This commit is contained in:
Melora Hugues 2023-09-16 18:02:20 +02:00
parent 08ff7799ab
commit dc1ac494ae

2
pci.go
View file

@ -52,13 +52,11 @@ func (pcp *PCIDevicePath) ParseString(raw string) error {
if function, err := strconv.ParseUint(args[0], 0, 8); err != nil { if function, err := strconv.ParseUint(args[0], 0, 8); err != nil {
return err return err
} else { } else {
fmt.Println("function", function)
pcp.function = uint8(function) pcp.function = uint8(function)
} }
if device, err := strconv.ParseUint(args[1], 0, 8); err != nil { if device, err := strconv.ParseUint(args[1], 0, 8); err != nil {
return err return err
} else { } else {
fmt.Println("device", device)
pcp.device = uint8(device) pcp.device = uint8(device)
} }
return nil return nil