Browse Source

store: remove another unused function

Jonathan Boulle 11 years ago
parent
commit
5c4edf65f9
1 changed files with 0 additions and 4 deletions
  1. 0 4
      store/stats.go

+ 0 - 4
store/stats.go

@@ -91,10 +91,6 @@ func (s *Stats) toJson() []byte {
 	return b
 }
 
-func (s *Stats) TotalReads() uint64 {
-	return s.GetSuccess + s.GetFail
-}
-
 func (s *Stats) Inc(field int) {
 	switch field {
 	case SetSuccess: