diff options
Diffstat (limited to 'drivers/mtd/devices/lart.c')
-rw-r--r-- | drivers/mtd/devices/lart.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/devices/lart.c b/drivers/mtd/devices/lart.c index 6fb8dba76959..82bd00af5cc3 100644 --- a/drivers/mtd/devices/lart.c +++ b/drivers/mtd/devices/lart.c | |||
@@ -437,9 +437,6 @@ static int flash_read (struct mtd_info *mtd,loff_t from,size_t len,size_t *retle | |||
437 | printk (KERN_DEBUG "%s(from = 0x%.8x, len = %d)\n", __func__, (__u32)from, len); | 437 | printk (KERN_DEBUG "%s(from = 0x%.8x, len = %d)\n", __func__, (__u32)from, len); |
438 | #endif | 438 | #endif |
439 | 439 | ||
440 | /* sanity checks */ | ||
441 | if (!len) return (0); | ||
442 | |||
443 | /* we always read len bytes */ | 440 | /* we always read len bytes */ |
444 | *retlen = len; | 441 | *retlen = len; |
445 | 442 | ||