patch 9.0.1154: Coverity warns for dead code

Problem:    Coverity warns for dead code.
Solution:   Remove condition that is always true.
diff --git a/src/version.c b/src/version.c
index 0284118..4352c83 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1154,
+/**/
     1153,
 /**/
     1152,
diff --git a/src/vim9class.c b/src/vim9class.c
index fd0a122..92e3c63 100644
--- a/src/vim9class.c
+++ b/src/vim9class.c
@@ -681,8 +681,7 @@
 	    garray_T lines_to_free;
 	    ga_init2(&lines_to_free, sizeof(char_u *), 50);
 
-	    ufunc_T *nf = define_function(&fea, NULL, &lines_to_free,
-					   is_class ? CF_CLASS : CF_INTERFACE);
+	    ufunc_T *nf = define_function(&fea, NULL, &lines_to_free, CF_CLASS);
 
 	    ga_clear_strings(&lines_to_free);
 	    vim_free(fga.ga_data);