diff options
| author | wuchi <[email protected]> | 2022-06-19 07:46:41 +0000 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-18 00:31:37 +0000 |
| commit | 62df90b53e6f332bb69b73621998826c49a17323 (patch) | |
| tree | 2d414545c113543a6a08d5bb6a733c0d0751f1d2 /lib/error-inject.c | |
| parent | lib/lru_cache: fix error free handing in lc_create (diff) | |
| download | kernel-62df90b53e6f332bb69b73621998826c49a17323.tar.gz kernel-62df90b53e6f332bb69b73621998826c49a17323.zip | |
net, lib/once: remove {net_}get_random_once_wait macro
DO_ONCE(func, ...) will call func with spinlock which acquired by
spin_lock_irqsave in __do_once_start. But the get_random_once_wait will
sleep in get_random_bytes_wait -> wait_for_random_bytes.
Fortunately, there is no place to use {net_}get_random_once_wait, so we
could remove them simply.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: wuchi <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Paolo Abeni <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions
