Commit 0ce0060f authored by Akinobu Mita's avatar Akinobu Mita Committed by David Woodhouse

mtd: mtd_nandecctest: remove unnecessary srandom32() call

It is unnecessary for this driver to call srandom32() in module_init.
Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 58d864ed
...@@ -66,8 +66,6 @@ static int nand_ecc_test(const size_t size) ...@@ -66,8 +66,6 @@ static int nand_ecc_test(const size_t size)
static int __init ecc_test_init(void) static int __init ecc_test_init(void)
{ {
srandom32(jiffies);
nand_ecc_test(256); nand_ecc_test(256);
nand_ecc_test(512); nand_ecc_test(512);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment