diff options
Diffstat (limited to 'include/linux/net.h')
| -rw-r--r-- | include/linux/net.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 69be3e6079c8..94734a6259a4 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
| @@ -245,9 +245,6 @@ do { \ | |||
| 245 | #define net_dbg_ratelimited(fmt, ...) \ | 245 | #define net_dbg_ratelimited(fmt, ...) \ |
| 246 | net_ratelimited_function(pr_debug, fmt, ##__VA_ARGS__) | 246 | net_ratelimited_function(pr_debug, fmt, ##__VA_ARGS__) |
| 247 | 247 | ||
| 248 | #define net_random() prandom_u32() | ||
| 249 | #define net_srandom(seed) prandom_seed((__force u32)(seed)) | ||
| 250 | |||
| 251 | bool __net_get_random_once(void *buf, int nbytes, bool *done, | 248 | bool __net_get_random_once(void *buf, int nbytes, bool *done, |
| 252 | struct static_key *done_key); | 249 | struct static_key *done_key); |
| 253 | 250 | ||
