From b2f4fd5776e30eb481ebde189fb27651c8fb16b4 Mon Sep 17 00:00:00 2001
From: Karsten Weiss <knweiss@gmail.com>
Date: Sun, 14 May 2017 19:50:19 +0200
Subject: [PATCH] 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
---
 collector/devstat_freebsd.go | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/collector/devstat_freebsd.go b/collector/devstat_freebsd.go
index f029d0f1..5983f5a1 100644
--- a/collector/devstat_freebsd.go
+++ b/collector/devstat_freebsd.go
@@ -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() {