diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-09-12 18:41:46 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-10-13 00:50:48 -0400 |
commit | 7ebec8d235419a92af42b2d20e0d6cb6dac07dd8 (patch) | |
tree | 32520a0205d2342633ced03d1eb3b3825b7b8b4b | |
parent | 88d50890b78f68ff047e4deee651ec4e256cefea (diff) | |
download | lwn-7ebec8d235419a92af42b2d20e0d6cb6dac07dd8.tar.gz lwn-7ebec8d235419a92af42b2d20e0d6cb6dac07dd8.zip |
dgnc: don't bother with (empty) stub for TCXONC
for pity sake, that case is identical to their default: _and_ bears
an explicit comment re leaving to ldisc. Which is what default is
doing, obviously...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | drivers/staging/dgnc/dgnc_tty.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index c01616f9e609..b8f865018950 100644 --- a/drivers/staging/dgnc/dgnc_tty.c +++ b/drivers/staging/dgnc/dgnc_tty.c @@ -2157,11 +2157,6 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, /* pretend we didn't recognize this */ return -ENOIOCTLCMD; - case TCXONC: - spin_unlock_irqrestore(&ch->ch_lock, flags); - /* Make the ld do it */ - return -ENOIOCTLCMD; - case DIGI_GETA: /* get information for ditty */ spin_unlock_irqrestore(&ch->ch_lock, flags); |