diff --git a/mm/nommu.c b/mm/nommu.c
index b76f3ee0abe015a85f36ff4b2599cff21d3c3efd..efa9a380335eed137c30d5c762c5a5cdae469b9c 100644
--- a/mm/nommu.c
+++ b/mm/nommu.c
@@ -36,11 +36,6 @@
 #include <asm/mmu_context.h>
 #include "internal.h"
 
-static inline __attribute__((format(printf, 1, 2)))
-void no_printk(const char *fmt, ...)
-{
-}
-
 #if 0
 #define kenter(FMT, ...) \
 	printk(KERN_DEBUG "==> %s("FMT")\n", __func__, ##__VA_ARGS__)