mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02: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