--- a/net/bluetooth/rfcomm/tty.c 2014-01-17 14:35:00.540269581 -0500 +++ b/net/bluetooth/rfcomm/tty.c 2014-01-17 14:36:46.520269945 -0500 @@ -162,14 +162,6 @@ static int rfcomm_dev_activate(struct tt 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) {