Disable the legacy "function" of Code-Review label

This is what is causing a default "Code Review" submit requirement to
show up, in addition to the project's one. Change the "function" of
the label to "NoBlock" to disable this behaviour.

Signed-off-by: Sandrine Afsa <sandrine.afsa@arm.com>
diff --git a/project.config b/project.config
index 028b4a9..6cd5318 100644
--- a/project.config
+++ b/project.config
@@ -79,6 +79,23 @@
 	copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE OR changekind:TRIVIAL_REBASE
 	function = NoBlock
 
+# Gerrit auto-generates a "Code Review" submit requirement from the legacy label
+# "function" for the built-in Code-Review label. Since we've got our own custom
+# submit requirement, we do not want this auto-generated one to show up, as it's
+# confusing to developers.
+#
+# Redefine the Code-Review label with the same values as usual, but change the
+# "function" to NoBlock.
+[label "Code-Review"]
+	function = NoBlock
+	defaultValue = 0
+	value = -2 This shall not be merged
+	value = -1 I would prefer this is not merged as is
+	value = 0 No score
+	value = +1 Looks good to me, but someone else must approve
+	value = +2 Looks good to me, approved
+	copyCondition = changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR is:MIN
+
 ################################################################################
 # Submit requirements.
 ################################################################################