]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/devices/lart.c
Merge branch 'x86/cleanups' into x86/apic
[karo-tx-linux.git] / drivers / mtd / devices / lart.c
index 6fb8dba7695973195d8b08347528e48f3e15818c..82bd00af5cc3841ba6cd44ef51024b5792ba09b5 100644 (file)
@@ -437,9 +437,6 @@ static int flash_read (struct mtd_info *mtd,loff_t from,size_t len,size_t *retle
    printk (KERN_DEBUG "%s(from = 0x%.8x, len = %d)\n", __func__, (__u32)from, len);
 #endif
 
-   /* sanity checks */
-   if (!len) return (0);
-
    /* we always read len bytes */
    *retlen = len;