[MTD] Pre-CFI Sharp chip driver: Some speedups and cleanups
authorTodd Poynor <tpoynor@mvista.com>
Tue, 2 Aug 2005 20:36:09 +0000 (21:36 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Thu, 4 Aug 2005 10:52:09 +0000 (12:52 +0200)
Remove useless udelay(100) after status value already read.  Poll
for status OK with reduced udelay if not immediate OK status return.

Fix read and compare of 32-bit status value using 16-bit variable.

Include slab.h since kmalloc/kfree are called.

Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

No differences found