summaryrefslogtreecommitdiffstats
path: root/mm/damon/prmtv-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'mm/damon/prmtv-common.h')
-rw-r--r--mm/damon/prmtv-common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/damon/prmtv-common.h b/mm/damon/prmtv-common.h
index 61f27037603e..e790cb5f8fe0 100644
--- a/mm/damon/prmtv-common.h
+++ b/mm/damon/prmtv-common.h
@@ -6,10 +6,6 @@
*/
#include <linux/damon.h>
-#include <linux/random.h>
-
-/* Get a random number in [l, r) */
-#define damon_rand(l, r) (l + prandom_u32_max(r - l))
struct page *damon_get_page(unsigned long pfn);