diff --git a/class.c b/class.c
index 09afc720e3..010faed3eb 100644
--- a/class.c
+++ b/class.c
@@ -768,11 +768,7 @@ rb_module_new(void)
 VALUE
 rb_define_module_id(ID id)
 {
-    VALUE mdl;
-
-    mdl = rb_module_new();
-
-    return mdl;
+    return rb_module_new();
 }
 
 VALUE