aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/packet/af_packet.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index a58f9a895..2d454a235 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -1173,13 +1173,6 @@ static unsigned int fanout_demux_cpu(struct packet_fanout *f,
return smp_processor_id() % num;
}
-static unsigned int fanout_demux_rnd(struct packet_fanout *f,
- struct sk_buff *skb,
- unsigned int num)
-{
- return prandom_u32_max(num);
-}
-
static unsigned int fanout_demux_rollover(struct packet_fanout *f,
struct sk_buff *skb,
unsigned int idx, unsigned int skip,