projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50bea5c
)
remove unused random32() and srandom32()
author
Akinobu Mita
<
[email protected]
>
Tue, 7 May 2013 23:18:17 +0000
(16:18 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 8 May 2013 01:38:27 +0000
(18:38 -0700)
After finishing a naming transition, remove unused backward
compatibility wrapper macros
Signed-off-by: Akinobu Mita <
[email protected]
>
Cc: "Theodore Ts'o" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/random.h
patch
|
blob
|
history
diff --git
a/include/linux/random.h
b/include/linux/random.h
index 347ce553a3065fd5020eb1ab864434db488df27c..3b9377d6b7a5fd63b13d02fc238d7da99fbef026 100644
(file)
--- a/
include/linux/random.h
+++ b/
include/linux/random.h
@@
-29,13
+29,6
@@
u32 prandom_u32(void);
void prandom_bytes(void *buf, int nbytes);
void prandom_seed(u32 seed);
-/*
- * These macros are preserved for backward compatibility and should be
- * removed as soon as a transition is finished.
- */
-#define random32() prandom_u32()
-#define srandom32(seed) prandom_seed(seed)
-
u32 prandom_u32_state(struct rnd_state *);
void prandom_bytes_state(struct rnd_state *state, void *buf, int nbytes);