fix: remove useless print
This commit is contained in:
parent
08ff7799ab
commit
dc1ac494ae
1 changed files with 0 additions and 2 deletions
2
pci.go
2
pci.go
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue