projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a310d2
)
[UBI] drivers/mtd/ubi/cdev.c: unused var
author
akpm@linux-foundation.org
<akpm@linux-foundation.org>
Wed, 16 Jan 2008 09:24:27 +0000
(
01:24
-0800)
committer
David Woodhouse
<dwmw2@infradead.org>
Sun, 3 Feb 2008 07:09:27 +0000
(18:09 +1100)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/ubi/cdev.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/cdev.c
b/drivers/mtd/ubi/cdev.c
index a60a3a24c2a1d6a21408f04e8a1391ed603064f1..5ec13dc4705b92a24ab47abb56c9bf4198d4feb7 100644
(file)
--- 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;