[PATCH v3 01/11] mtd: mtd_nandecctest: remove unnecessary srandom32() call
Akinobu Mita
akinobu.mita at gmail.com
Mon Sep 3 08:59:56 EDT 2012
It is unnecessary for this driver to call srandom32() in module_init.
Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
Cc: David Woodhouse <dwmw2 at infradead.org>
Cc: linux-mtd at lists.infradead.org
Cc: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
---
No changes from previous version
drivers/mtd/tests/mtd_nandecctest.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mtd/tests/mtd_nandecctest.c b/drivers/mtd/tests/mtd_nandecctest.c
index 70d6d7d..4d7b171 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)
static int __init ecc_test_init(void)
{
- srandom32(jiffies);
-
nand_ecc_test(256);
nand_ecc_test(512);
--
1.7.11.4
More information about the linux-mtd
mailing list