summaryrefslogtreecommitdiff
path: root/drivers/misc/lkdtm_rodata.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/lkdtm_rodata.c')
-rw-r--r--drivers/misc/lkdtm_rodata.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/misc/lkdtm_rodata.c b/drivers/misc/lkdtm_rodata.c
deleted file mode 100644
index 3564477b8c2d..000000000000
--- a/drivers/misc/lkdtm_rodata.c
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * This includes functions that are meant to live entirely in .rodata
- * (via objcopy tricks), to validate the non-executability of .rodata.
- */
-#include "lkdtm.h"
-
-void notrace lkdtm_rodata_do_nothing(void)
-{
- /* Does nothing. We just want an architecture agnostic "return". */
-}