diff --git a/plugins/inputs/ipmi/ipmi.go b/plugins/inputs/ipmi/ipmi.go index 4c4574f9e..92fe769e6 100644 --- a/plugins/inputs/ipmi/ipmi.go +++ b/plugins/inputs/ipmi/ipmi.go @@ -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 {