mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
wal: remove unused max function
This commit is contained in:
parent
92f013393c
commit
9532810f76
@ -129,10 +129,3 @@ func parseWalName(str string) (seq, index uint64, err error) {
|
|||||||
func walName(seq, index uint64) string {
|
func walName(seq, index uint64) string {
|
||||||
return fmt.Sprintf("%016x-%016x.wal", seq, index)
|
return fmt.Sprintf("%016x-%016x.wal", seq, index)
|
||||||
}
|
}
|
||||||
|
|
||||||
func max(a, b int64) int64 {
|
|
||||||
if a > b {
|
|
||||||
return a
|
|
||||||
}
|
|
||||||
return b
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user