Skip to content

Commit

Permalink
Merge pull request #7 from xaionaro-go/master
Browse files Browse the repository at this point in the history
Fixed "go vet" problem: unreachable code
  • Loading branch information
zserge authored Jul 9, 2018
2 parents b5855a5 + a6aa520 commit c86e7ad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions usb_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ func (hid *usbDevice) claim() error {

if r, errno := hid.ioctl(USBDEVFS_CLAIM, &ifno); r == -1 {
return errno
} else {
return nil
}
return nil
}
Expand Down

0 comments on commit c86e7ad

Please sign in to comment.