[UBI] drivers/mtd/ubi/cdev.c: unused var

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
akpm@linux-foundation.org 2008-01-16 01:24:27 -08:00 коммит произвёл David Woodhouse
Родитель 9a310d2119
Коммит 5b1defe73a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -268,7 +268,7 @@ static ssize_t vol_cdev_direct_write(struct file *file, const char __user *buf,
struct ubi_volume_desc *desc = file->private_data;
struct ubi_volume *vol = desc->vol;
struct ubi_device *ubi = vol->ubi;
int lnum, off, len, tbuf_size, vol_id = vol->vol_id, err = 0;
int lnum, off, len, tbuf_size, err = 0;
size_t count_save = count;
char *tbuf;
uint64_t tmp;