From 0ce0060f103db02edcaa000bbd31cdebcfaa115c Mon Sep 17 00:00:00 2001 From: Akinobu Mita Date: Sun, 26 Aug 2012 21:06:43 +0900 Subject: [PATCH] mtd: mtd_nandecctest: remove unnecessary srandom32() call It is unnecessary for this driver to call srandom32() in module_init. Signed-off-by: Akinobu Mita Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- 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 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) static int __init ecc_test_init(void) { - srandom32(jiffies); - nand_ecc_test(256); nand_ecc_test(512); -- 2.20.1