summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/tests
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2012-08-26 21:06:43 +0900
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-09-29 15:13:05 +0100
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 70d6d7d0d65..4d7b171e825 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);