projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee16f2a
)
mtd: sst25l: kill unused variable
author
Artem Bityutskiy
<
[email protected]
>
Thu, 29 Dec 2011 16:06:01 +0000
(18:06 +0200)
committer
David Woodhouse
<
[email protected]
>
Mon, 9 Jan 2012 18:26:01 +0000
(18:26 +0000)
Fix the following gcc warning:
drivers/mtd/devices/sst25l.c: In function ‘sst25l_probe’:
drivers/mtd/devices/sst25l.c:381:11: warning: unused variable ‘i’ [-Wunused-variable]
Signed-off-by: Artem Bityutskiy <
[email protected]
>
Signed-off-by: David Woodhouse <
[email protected]
>
drivers/mtd/devices/sst25l.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/devices/sst25l.c
b/drivers/mtd/devices/sst25l.c
index e45f62e8f195263049ec3ea6f7b184119e041a42..5fc198350b94b66ea27b5e7113f4f192c61c9dfd 100644
(file)
--- a/
drivers/mtd/devices/sst25l.c
+++ b/
drivers/mtd/devices/sst25l.c
@@
-378,7
+378,7
@@
static int __devinit sst25l_probe(struct spi_device *spi)
struct flash_info *flash_info;
struct sst25l_flash *flash;
struct flash_platform_data *data;
- int ret
, i
;
+ int ret;
flash_info = sst25l_match_device(spi);
if (!flash_info)