diff --git a/routers/repo/compare.go b/routers/repo/compare.go
index d7fddc4558..4769a4da1a 100644
--- a/routers/repo/compare.go
+++ b/routers/repo/compare.go
@@ -422,10 +422,6 @@ func CompareDiff(ctx *context.Context) {
 	beforeCommitID := ctx.Data["BeforeCommitID"].(string)
 	afterCommitID := ctx.Data["AfterCommitID"].(string)
 
-	if ctx.Data["Assignees"], err = ctx.Repo.Repository.GetAssignees(); err != nil {
-		ctx.ServerError("GetAssignees", err)
-		return
-	}
 
 	ctx.Data["Title"] = "Comparing " + base.ShortSha(beforeCommitID) + "..." + base.ShortSha(afterCommitID)