Commit d251575a authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Linus Torvalds

[PATCH] random: get rid of sparse warning

Get rid of bogus extern attribute that causes sparse warning.
Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
Acked-by: default avatarMatt Mackall <mpm@selenic.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8c174af8
...@@ -632,7 +632,7 @@ static void add_timer_randomness(struct timer_rand_state *state, unsigned num) ...@@ -632,7 +632,7 @@ static void add_timer_randomness(struct timer_rand_state *state, unsigned num)
preempt_enable(); preempt_enable();
} }
extern void add_input_randomness(unsigned int type, unsigned int code, void add_input_randomness(unsigned int type, unsigned int code,
unsigned int value) unsigned int value)
{ {
static unsigned char last_value; static unsigned char last_value;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment