Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6580a67b authored by Dan Carpenter's avatar Dan Carpenter Committed by Jiri Kosina
Browse files

USB: serial: remove duplicate returns



This small untidiness with two returns in a row was copy and pasted
into mos7720.c and mos7840.c.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent bd74b32b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2006,7 +2006,6 @@ static int mos7720_ioctl(struct tty_struct *tty,
		dbg("%s (%d) TIOCSERGETLSR", __func__,  port->number);
		return get_lsr_info(tty, mos7720_port,
					(unsigned int __user *)arg);
		return 0;

	/* FIXME: These should be using the mode methods */
	case TIOCMBIS:
+0 −1
Original line number Diff line number Diff line
@@ -2263,7 +2263,6 @@ static int mos7840_ioctl(struct tty_struct *tty,
	case TIOCSERGETLSR:
		dbg("%s (%d) TIOCSERGETLSR", __func__, port->number);
		return mos7840_get_lsr_info(tty, argp);
		return 0;

	case TIOCGSERIAL:
		dbg("%s (%d) TIOCGSERIAL", __func__, port->number);