Skip to content

Commit

Permalink
Remove unnecessary comparison with bool
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] committed Feb 1, 2021
1 parent 91386cc commit 6591de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/manuf.go
Original file line number Diff line number Diff line change
Expand Up @@ -35144,7 +35144,7 @@ func ManufLookup(mac string) string {
macHex := strings.Replace(mac, ":", "", -1)
macInt := new(big.Int)

if _, ok := macInt.SetString(macHex, 16); ok == false {
if _, ok := macInt.SetString(macHex, 16); !ok {
return ""
}

Expand Down

0 comments on commit 6591de4

Please sign in to comment.