diff --git a/drivers/char/random.c b/drivers/char/random.c index 64bc10a04ca3..e528894f239f 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1536,9 +1536,6 @@ unsigned int get_random_int(void) __u32 *hash; unsigned int ret; - if (arch_get_random_int(&ret)) - return ret; - hash = get_cpu_var(get_random_int_hash); hash[0] += current->pid + jiffies + get_cycles(); @@ -1557,9 +1554,6 @@ unsigned long get_random_long(void) __u32 *hash; unsigned long ret; - if (arch_get_random_long(&ret)) - return ret; - hash = get_cpu_var(get_random_int_hash); hash[0] += current->pid + jiffies + get_cycles();