diff options
Diffstat (limited to 'drivers/mtd/mtdchar.c')
-rw-r--r-- | drivers/mtd/mtdchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c index 15a3f6224be4..83b0c82e9c94 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c | |||
@@ -189,7 +189,7 @@ static ssize_t mtdchar_read(struct file *file, char __user *buf, size_t count, | |||
189 | { | 189 | { |
190 | struct mtd_file_info *mfi = file->private_data; | 190 | struct mtd_file_info *mfi = file->private_data; |
191 | struct mtd_info *mtd = mfi->mtd; | 191 | struct mtd_info *mtd = mfi->mtd; |
192 | size_t retlen=0; | 192 | size_t retlen; |
193 | size_t total_retlen=0; | 193 | size_t total_retlen=0; |
194 | int ret=0; | 194 | int ret=0; |
195 | int len; | 195 | int len; |