remove unsed function

This commit is contained in:
张光权 2016-03-18 16:56:10 +08:00
parent 65e6bb5583
commit 4833df4552
1 changed files with 0 additions and 11 deletions

View File

@ -2,7 +2,6 @@
package ipmi
import (
"fmt"
"strconv"
"strings"
"time"
@ -81,16 +80,6 @@ func (m *Ipmi) gatherServer(serv string, acc telegraf.Accumulator) error {
return nil
}
func Atofloat4(val float64) float64 {
str := fmt.Sprintf("%.4f", val)
return Atofloat(str)
}
func Atofloat2(val float64) float64 {
str := fmt.Sprintf("%.2f", val)
return Atofloat(str)
}
func Atofloat(val string) float64 {
f, err := strconv.ParseFloat(val, 64)
if err != nil {