diff options
author | Gianluca Anzolin <gianluca@sottospazio.it> | 2014-01-06 21:23:53 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-01-06 13:51:45 -0800 |
commit | f86772af6a0f643d3e13eb3f4f9213ae0c333ee4 (patch) | |
tree | b8c05bc27239046092e1565e9930f554d798f190 /net/bluetooth | |
parent | 4a2fb3ecc7467c775b154813861f25a0ddc11aa0 (diff) | |
download | op-kernel-dev-f86772af6a0f643d3e13eb3f4f9213ae0c333ee4.zip op-kernel-dev-f86772af6a0f643d3e13eb3f4f9213ae0c333ee4.tar.gz |
Bluetooth: Remove rfcomm_carrier_raised()
Remove the rfcomm_carrier_raised() definition as that function isn't
used anymore.
Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/rfcomm/tty.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c index aeabade..f9c0980a 100644 --- a/net/bluetooth/rfcomm/tty.c +++ b/net/bluetooth/rfcomm/tty.c @@ -160,14 +160,6 @@ static int rfcomm_dev_activate(struct tty_port *port, struct tty_struct *tty) return err; } -/* we block the open until the dlc->state becomes BT_CONNECTED */ -static int rfcomm_dev_carrier_raised(struct tty_port *port) -{ - struct rfcomm_dev *dev = container_of(port, struct rfcomm_dev, port); - - return (dev->dlc->state == BT_CONNECTED); -} - /* device-specific cleanup: close the dlc */ static void rfcomm_dev_shutdown(struct tty_port *port) { |