diff options
Diffstat (limited to 'weed/shell/command_ec_common.go')
| -rw-r--r-- | weed/shell/command_ec_common.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/weed/shell/command_ec_common.go b/weed/shell/command_ec_common.go index 325e504c4..5ca77785f 100644 --- a/weed/shell/command_ec_common.go +++ b/weed/shell/command_ec_common.go @@ -282,10 +282,6 @@ func mountEcShards(grpcDialOption grpc.DialOption, collection string, volumeId n }) } -func divide(total, n int) float64 { - return float64(total) / float64(n) -} - func ceilDivide(total, n int) int { return int(math.Ceil(float64(total) / float64(n))) } |
