projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8984d13
)
[PATCH] i2lib unused variable cleanup
author
Mariusz Kozlowski
<m.kozlowski@tuxland.pl>
Thu, 7 Dec 2006 04:37:17 +0000
(20:37 -0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:35 +0000
(08:39 -0800)
In file included from drivers/char/ip2/ip2main.c:285:
drivers/char/ip2/i2lib.c: In function `i2Output':
drivers/char/ip2/i2lib.c:1019: warning: unused variable `rc'
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ip2/i2lib.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/ip2/i2lib.c
b/drivers/char/ip2/i2lib.c
index c213fdbdb2b0e53ce521e7f55714802d75399f28..78045767ec33691d7b8b89770c00f5f39b935f48 100644
(file)
--- a/
drivers/char/ip2/i2lib.c
+++ b/
drivers/char/ip2/i2lib.c
@@
-1016,7
+1016,6
@@
i2Output(i2ChanStrPtr pCh, const char *pSource, int count)
unsigned short channel;
unsigned short stuffIndex;
unsigned long flags;
- int rc = 0;
int bailout = 10;