mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
mtd: mtd_nandecctest: remove unnecessary srandom32() call
It is unnecessary for this driver to call srandom32() in module_init. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
58d864ed20
commit
0ce0060f10
1 changed files with 0 additions and 2 deletions
|
@ -66,8 +66,6 @@ static int nand_ecc_test(const size_t size)
|
|||
|
||||
static int __init ecc_test_init(void)
|
||||
{
|
||||
srandom32(jiffies);
|
||||
|
||||
nand_ecc_test(256);
|
||||
nand_ecc_test(512);
|
||||
|
||||
|
|
Loading…
Reference in a new issue