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:
531021f
)
x25_asy.c: silence compiler warning
author
S.Çağlar Onur
<
[email protected]
>
Sun, 10 Feb 2008 03:06:25 +0000
(
05:06
+0200)
committer
Linus Torvalds
<
[email protected]
>
Sun, 10 Feb 2008 07:27:01 +0000
(23:27 -0800)
Commit
11b0cc3a4af65413ca3bb5698769e091486e0b22
("x25_asy: Fix ref count
rule violation") introduced the warning
drivers/net/wan/x25_asy.c: In function `x25_asy_open_tty':
drivers/net/wan/x25_asy.c:557: warning: unused variable `ld'
Signed-off-by: S.Çağlar Onur <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/net/wan/x25_asy.c
patch
|
blob
|
history
diff --git
a/drivers/net/wan/x25_asy.c
b/drivers/net/wan/x25_asy.c
index 5e2d763c6b5fb9252c6648da00ce85ba6829d626..0f8aca8a4d4331b484226f749f6f33012c1a9cf3 100644
(file)
--- a/
drivers/net/wan/x25_asy.c
+++ b/
drivers/net/wan/x25_asy.c
@@
-554,7
+554,6
@@
static void x25_asy_receive_buf(struct tty_struct *tty, const unsigned char *cp,
static int x25_asy_open_tty(struct tty_struct *tty)
{
struct x25_asy *sl = (struct x25_asy *) tty->disc_data;
- struct tty_ldisc *ld;
int err;
/* First make sure we're not already connected. */