Browse Source

wal: remove unused max function

Yicheng Qin 11 years ago
parent
commit
9532810f76
1 changed files with 0 additions and 7 deletions
  1. 0 7
      wal/util.go

+ 0 - 7
wal/util.go

@@ -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
-}