Akinobu Mita 7e45bf83f4 mtd: nandsim: use prandom_bytes
This also removes unnecessary memset call which is immediately overwritten
with random bytes.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Artem Bityutskiy <dedekind1@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Laight <david.laight@aculab.com>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Robert Love <robert.w.love@intel.com>
Cc: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-12-17 17:15:26 -08:00
..
2012-10-09 15:04:25 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-10-09 15:04:25 +01:00
2012-09-29 15:00:46 +01:00
2012-10-09 15:04:25 +01:00
2012-09-29 15:00:46 +01:00
2012-12-17 17:15:26 -08:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00
2012-10-09 15:04:25 +01:00
2012-10-09 15:04:25 +01:00
2012-09-29 15:00:46 +01:00
2012-03-27 00:56:46 +01:00
2012-09-29 15:00:46 +01:00
2012-09-29 15:00:46 +01:00