Skip to content

Commit

Permalink
mtd: mtd_nandecctest: remove unnecessary srandom32() call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Akinobu Mita authored and David Woodhouse committed Sep 29, 2012
1 parent 58d864e commit 0ce0060
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/mtd/tests/mtd_nandecctest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0ce0060

Please sign in to comment.