Skip to content

Commit

Permalink
tools/benchmark/cmd: eliminate custom max function
Browse files Browse the repository at this point in the history
Just a code clean-up.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
  • Loading branch information
callthingsoff committed May 8, 2024
1 parent bb398a0 commit beb5e85
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tools/benchmark/cmd/put.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,6 @@ func compactKV(clients []*v3.Client) {
}
}

func max(n1, n2 int64) int64 {
if n1 > n2 {
return n1
}
return n2
}

func hashKV(cmd *cobra.Command, clients []*v3.Client) {
eps, err := cmd.Flags().GetStringSlice("endpoints")
if err != nil {
Expand Down

0 comments on commit beb5e85

Please sign in to comment.