[UBI] drivers/mtd/ubi/cdev.c: unused var
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sun Feb 3 02:59:01 EST 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=5b1defe73a538dfe35f7b59bcaf047c0005bff4d
Commit: 5b1defe73a538dfe35f7b59bcaf047c0005bff4d
Parent: 9a310d21196f38f6ad0ad146057548653e495c09
Author: akpm at linux-foundation.org <akpm at linux-foundation.org>
AuthorDate: Wed Jan 16 01:24:27 2008 -0800
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sun Feb 3 18:09:27 2008 +1100
[UBI] drivers/mtd/ubi/cdev.c: unused var
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
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 a60a3a2..5ec13dc 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,
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;
More information about the linux-mtd-cvs
mailing list