]> git.karo-electronics.de Git - karo-tx-linux.git/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)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 29 Aug 2012 13:05:02 +0000 (16:05 +0300)
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>
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);