summaryrefslogtreecommitdiffstats
path: root/routers/repo/commit.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-14 13:22:24 -0500
committerUnknwon <u@gogs.io>2015-11-14 13:22:24 -0500
commit84a43b38cfe88f7199a5e883f00a0ef5091a69d0 (patch)
treeafbc98a5412eb266ed81694c3c0f2c0c1862b15e /routers/repo/commit.go
parent7c80eba77f727c2b80b4091c850dc38d47532b8d (diff)
downloadgitea-84a43b38cfe88f7199a5e883f00a0ef5091a69d0.tar.gz
gitea-84a43b38cfe88f7199a5e883f00a0ef5091a69d0.zip
remove unused code
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r--routers/repo/commit.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index 0c9e7817a2..101cb5c557 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -17,8 +17,6 @@ import (
"github.com/gogits/gogs/modules/setting"
)
-import "github.com/davecheney/profile"
-
const (
COMMITS base.TplName = "repo/commits"
DIFF base.TplName = "repo/diff"
@@ -45,7 +43,6 @@ func RenderIssueLinks(oldCommits *list.List, repoLink string) *list.List {
}
func Commits(ctx *middleware.Context) {
- defer profile.Start(profile.CPUProfile).Stop()
ctx.Data["PageIsCommits"] = true
commitsCount, err := ctx.Repo.Commit.CommitsCount()