From 84a43b38cfe88f7199a5e883f00a0ef5091a69d0 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 14 Nov 2015 13:22:24 -0500 Subject: [PATCH] remove unused code --- routers/repo/commit.go | 3 --- 1 file changed, 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()