aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/tests
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2012-08-26 08:06:43 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-09-29 10:13:05 -0400
commit0ce0060f103db02edcaa000bbd31cdebcfaa115c (patch)
tree9670d73b2fed2a8345a749b98a6256a41cc170ec /drivers/mtd/tests
parent58d864ed208dd2495314fde104b4615fa58e18c8 (diff)
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>
Diffstat (limited to 'drivers/mtd/tests')
-rw-r--r--drivers/mtd/tests/mtd_nandecctest.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/tests/mtd_nandecctest.c b/drivers/mtd/tests/mtd_nandecctest.c
index 70d6d7d0d656..4d7b171e825f 100644
--- a/drivers/mtd/tests/mtd_nandecctest.c
+++ b/drivers/mtd/tests/mtd_nandecctest.c
@@ -66,8 +66,6 @@ static int nand_ecc_test(const size_t size)
66 66
67static int __init ecc_test_init(void) 67static int __init ecc_test_init(void)
68{ 68{
69 srandom32(jiffies);
70
71 nand_ecc_test(256); 69 nand_ecc_test(256);
72 nand_ecc_test(512); 70 nand_ecc_test(512);
73 71