Remove unused devstatCollector struct member 'bytes_total'.
This also fixes this golint issue: devstat_freebsd.go:40:2: don't use underscores in Go names; struct field bytes_total should be bytesTotal
This commit is contained in:
parent
bca09abf1c
commit
b2f4fd5776
1 changed files with 5 additions and 6 deletions
|
|
@ -36,12 +36,11 @@ type devstatCollector struct {
|
|||
mu sync.Mutex
|
||||
devinfo *C.struct_devinfo
|
||||
|
||||
bytes typedDesc
|
||||
bytes_total typedDesc
|
||||
transfers typedDesc
|
||||
duration typedDesc
|
||||
busyTime typedDesc
|
||||
blocks typedDesc
|
||||
bytes typedDesc
|
||||
transfers typedDesc
|
||||
duration typedDesc
|
||||
busyTime typedDesc
|
||||
blocks typedDesc
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue