]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - net/sched/sch_sfb.c
net: replace macros net_random and net_srandom with direct calls to prandom
authorAruna-Hewapathirane <aruna.hewapathirane@gmail.com>
Sat, 11 Jan 2014 12:15:59 +0000 (07:15 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2014 23:15:25 +0000 (15:15 -0800)
commit63862b5bef7349dd1137e4c70702c67d77565785
treead50ec4a9d67fd025a29093dc5a4b493fe02e8a5
parent825edac4e78ded9e621c167a4f47a2392bd9e082
net: replace macros net_random and net_srandom with direct calls to prandom

This patch removes the net_random and net_srandom macros and replaces
them with direct calls to the prandom ones. As new commits only seem to
use prandom_u32 there is no use to keep them around.
This change makes it easier to grep for users of prandom_u32.

Signed-off-by: Aruna-Hewapathirane <aruna.hewapathirane@gmail.com>
Suggested-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
30 files changed:
drivers/infiniband/core/cma.c
include/linux/net.h
include/net/red.h
net/802/garp.c
net/802/mrp.c
net/core/neighbour.c
net/core/stream.c
net/ipv4/devinet.c
net/ipv4/igmp.c
net/ipv4/inet_connection_sock.c
net/ipv4/udp.c
net/ipv6/addrconf.c
net/ipv6/ip6_flowlabel.c
net/ipv6/mcast.c
net/netfilter/ipvs/ip_vs_conn.c
net/netfilter/xt_statistic.c
net/openvswitch/actions.c
net/rds/bind.c
net/sched/act_gact.c
net/sched/sch_fq_codel.c
net/sched/sch_hhf.c
net/sched/sch_netem.c
net/sched/sch_pie.c
net/sched/sch_sfb.c
net/sched/sch_sfq.c
net/sctp/socket.c
net/sunrpc/cache.c
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c
net/xfrm/xfrm_state.c