diff options
Diffstat (limited to 'drivers/mtd/ubi/cdev.c')
-rw-r--r-- | drivers/mtd/ubi/cdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/cdev.c b/drivers/mtd/ubi/cdev.c index a60a3a24c2a1..5ec13dc4705b 100644 --- a/drivers/mtd/ubi/cdev.c +++ b/drivers/mtd/ubi/cdev.c | |||
@@ -268,7 +268,7 @@ static ssize_t vol_cdev_direct_write(struct file *file, const char __user *buf, | |||
268 | struct ubi_volume_desc *desc = file->private_data; | 268 | struct ubi_volume_desc *desc = file->private_data; |
269 | struct ubi_volume *vol = desc->vol; | 269 | struct ubi_volume *vol = desc->vol; |
270 | struct ubi_device *ubi = vol->ubi; | 270 | struct ubi_device *ubi = vol->ubi; |
271 | int lnum, off, len, tbuf_size, vol_id = vol->vol_id, err = 0; | 271 | int lnum, off, len, tbuf_size, err = 0; |
272 | size_t count_save = count; | 272 | size_t count_save = count; |
273 | char *tbuf; | 273 | char *tbuf; |
274 | uint64_t tmp; | 274 | uint64_t tmp; |