diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-08-10 20:28:55 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-08-11 17:34:34 -0400 |
commit | ddac1641ee1e2686c2211a8d671ea723634dfc89 (patch) | |
tree | 0596db2376fb5cbdcd83bf1642efdc7868ade480 /include/linux/random.h | |
parent | a6128b5335a79cd68b9dbb6b083a835d94539d04 (diff) |
Update bcachefs sources to 90a9c61e2b bcachefs: Switch bch2_btree_delete_range() to bch2_trans_run()
Diffstat (limited to 'include/linux/random.h')
-rw-r--r-- | include/linux/random.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/random.h b/include/linux/random.h index 28c595a0..ea101d53 100644 --- a/include/linux/random.h +++ b/include/linux/random.h @@ -29,11 +29,6 @@ static inline void get_random_bytes(void *buf, int nbytes) BUG_ON(getrandom(buf, nbytes, 0) != nbytes); } -static inline void prandom_bytes(void *buf, int nbytes) -{ - return get_random_bytes(buf, nbytes); -} - #define get_random_type(type) \ static inline type get_random_##type(void) \ { \ |