Browse Source

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>
Akinobu Mita 13 years ago
parent
commit
0ce0060f10
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/mtd/tests/mtd_nandecctest.c

+ 0 - 2
drivers/mtd/tests/mtd_nandecctest.c

@@ -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);