mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-07 14:32:23 +00:00
[PATCH] random: get rid of sparse warning
Get rid of bogus extern attribute that causes sparse warning. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Acked-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
8c174af880
commit
d251575ab6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user