提交 d251575a 编写于 作者: S Stephen Hemminger 提交者: Linus Torvalds

[PATCH] random: get rid of sparse warning

Get rid of bogus extern attribute that causes sparse warning.
Signed-off-by: NStephen Hemminger <shemminger@osdl.org>
Acked-by: NMatt Mackall <mpm@selenic.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 8c174af8
......@@ -632,7 +632,7 @@ static void add_timer_randomness(struct timer_rand_state *state, unsigned num)
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)
{
static unsigned char last_value;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册