diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2012-08-26 08:06:43 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 10:13:05 -0400 |
commit | 0ce0060f103db02edcaa000bbd31cdebcfaa115c (patch) | |
tree | 9670d73b2fed2a8345a749b98a6256a41cc170ec /drivers/mtd/tests | |
parent | 58d864ed208dd2495314fde104b4615fa58e18c8 (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.c | 2 |
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 | ||
67 | static int __init ecc_test_init(void) | 67 | static 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 | ||