summaryrefslogtreecommitdiff
path: root/net/batman-adv/bat_v_ogm.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2022-12-17 14:40:08 +0300
committerSimon Wunderlich <sw@simonwunderlich.de>2023-01-06 10:43:02 +0300
commitc4b40f80585c9349c401c2547ee11ecb451abb01 (patch)
treefc50a88c765fa5a611d549111a252945bdd9e51d /net/batman-adv/bat_v_ogm.c
parent55307f51f48e192560252b70c8b0fb504b84bc3c (diff)
downloadlinux-c4b40f80585c9349c401c2547ee11ecb451abb01.tar.xz
batman-adv: Drop prandom.h includes
The commit 8032bf1233a7 ("treewide: use get_random_u32_below() instead of deprecated function") replaced the prandom.h function prandom_u32_max with the random.h function get_random_u32_below. There is no need to still include prandom.h. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/bat_v_ogm.c')
-rw-r--r--net/batman-adv/bat_v_ogm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/batman-adv/bat_v_ogm.c b/net/batman-adv/bat_v_ogm.c
index addfd8c4fe95..96e027364ddd 100644
--- a/net/batman-adv/bat_v_ogm.c
+++ b/net/batman-adv/bat_v_ogm.c
@@ -21,7 +21,6 @@
#include <linux/minmax.h>
#include <linux/mutex.h>
#include <linux/netdevice.h>
-#include <linux/prandom.h>
#include <linux/random.h>
#include <linux/rculist.h>
#include <linux/rcupdate.h>