Remove (*Config).Close()

This commit is contained in:
Kyle Lemons
2012-03-27 18:40:32 -07:00
parent be26b2f34b
commit 25c01a9f60
4 changed files with 2 additions and 42 deletions

View File

@@ -49,11 +49,6 @@ func TestEnum(t *testing.T) {
t.Logf("- Protocol: %s", usbid.Classify(desc))
cfgs, err := dev.Configurations()
defer func() {
for _, cfg := range cfgs {
cfg.Close()
}
}()
if err != nil {
t.Errorf(" - configs: %s", err)
continue