Skip to content
Snippets Groups Projects
Commit 63862b5b authored by Aruna-Hewapathirane's avatar Aruna-Hewapathirane Committed by David S. Miller
Browse files

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: default avatarAruna-Hewapathirane <aruna.hewapathirane@gmail.com>
Suggested-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 825edac4
No related branches found
No related tags found
Loading
Showing with 28 additions and 30 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment