]> Pileus Git - ~andy/linux/commitdiff
mtd: mtd_nandecctest: remove unnecessary srandom32() call
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 26 Aug 2012 12:06:43 +0000 (21:06 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:13:05 +0000 (15:13 +0100)
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>
drivers/mtd/tests/mtd_nandecctest.c

index 70d6d7d0d65696b5cae7b5a1dd2aa57674a6f264..4d7b171e825fe01011f1315ad5a36896a21cbbfa 100644 (file)
@@ -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);