Skip to content
Snippets Groups Projects
Commit 91a07365 authored by S.Çağlar Onur's avatar S.Çağlar Onur Committed by Linus Torvalds
Browse files

x25_asy.c: silence compiler warning


Commit 11b0cc3a ("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: default avatarS.Çağlar Onur <caglar@pardus.org.tr>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 531021f2
No related branches found
No related tags found
No related merge requests found
......@@ -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. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment