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:
Karsten Weiss 2017-05-14 19:50:19 +02:00
parent bca09abf1c
commit b2f4fd5776

View file

@ -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() {