OSDN Git Service

rfcomm: get rid of mentioning TIOC[SG]SERIAL
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 12 Sep 2018 03:22:59 +0000 (23:22 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 13 Oct 2018 04:50:33 +0000 (00:50 -0400)
no support there

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/bluetooth/rfcomm/tty.c

index 5e44d84..ba4f593 100644 (file)
@@ -839,14 +839,6 @@ static int rfcomm_tty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned l
                BT_DBG("TIOCMIWAIT");
                break;
 
-       case TIOCGSERIAL:
-               BT_ERR("TIOCGSERIAL is not supported");
-               return -ENOIOCTLCMD;
-
-       case TIOCSSERIAL:
-               BT_ERR("TIOCSSERIAL is not supported");
-               return -ENOIOCTLCMD;
-
        case TIOCSERGSTRUCT:
                BT_ERR("TIOCSERGSTRUCT is not supported");
                return -ENOIOCTLCMD;