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
|
@ -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 New Issue