Skip to content

Commit

Permalink
Fix lint errors on various close statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsexton committed Sep 9, 2024
1 parent ec651b5 commit 9e052c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpioioctl/gpio.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func (chip *GPIOChip) Close() {

for _, line := range chip.lines {
if line.fd != 0 {
_ = line.Close()
line.Close()
}
}
for _, lineset := range chip.lineSets {
Expand Down

0 comments on commit 9e052c9

Please sign in to comment.