Skip to content

Commit

Permalink
Fixed "go vet" problem: unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
xaionaro committed Jul 9, 2018
1 parent b5855a5 commit a6aa520
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 a6aa520

Please sign in to comment.