aboutsummaryrefslogtreecommitdiff
path: root/net/packet
diff options
context:
space:
mode:
authorimoseyon <imoseyon@gmail.com>2014-12-13 16:53:42 -0800
committerMoyster <oysterized@gmail.com>2016-09-10 12:06:51 +0200
commitb245cbd5c6ae4cfa0fea4f61b84efc0d2397df78 (patch)
tree34b6015e0f7471f5b89f328d4548e166e4e1eb64 /net/packet
parent4cbf2e809065405757f19a6ca22e0dd38121498a (diff)
net/packet: merge fix
Diffstat (limited to 'net/packet')
-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,