btio: Remove unneeded L2CAP raw socket support

Now that pairing is done through mgmt this support is no-longer needed.
diff --git a/btio/btio.c b/btio/btio.c
index 730bdb3..b3bbc4b 100644
--- a/btio/btio.c
+++ b/btio/btio.c
@@ -1172,7 +1172,6 @@
 	sock = g_io_channel_unix_get_fd(io);
 
 	switch (type) {
-	case BT_IO_L2RAW:
 	case BT_IO_L2CAP:
 	case BT_IO_L2ERTM:
 		return l2cap_get(sock, err, opt1, args);
@@ -1235,7 +1234,6 @@
 	sock = g_io_channel_unix_get_fd(io);
 
 	switch (type) {
-	case BT_IO_L2RAW:
 	case BT_IO_L2CAP:
 	case BT_IO_L2ERTM:
 		return l2cap_set(sock, opts.sec_level, opts.imtu, opts.omtu,
@@ -1272,18 +1270,6 @@
 	GIOChannel *io;
 
 	switch (type) {
-	case BT_IO_L2RAW:
-		sock = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_L2CAP);
-		if (sock < 0) {
-			ERROR_FAILED(err, "socket(RAW, L2CAP)", errno);
-			return NULL;
-		}
-		if (l2cap_bind(sock, &opts->src, server ? opts->psm : 0,
-							opts->cid, err) < 0)
-			goto failed;
-		if (!l2cap_set(sock, opts->sec_level, 0, 0, 0, -1, -1, 0, err))
-			goto failed;
-		break;
 	case BT_IO_L2CAP:
 		sock = socket(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP);
 		if (sock < 0) {
@@ -1378,10 +1364,6 @@
 	sock = g_io_channel_unix_get_fd(io);
 
 	switch (type) {
-	case BT_IO_L2RAW:
-		err = l2cap_connect(sock, &opts.dst, opts.dst_type, 0,
-								opts.cid);
-		break;
 	case BT_IO_L2CAP:
 	case BT_IO_L2ERTM:
 		err = l2cap_connect(sock, &opts.dst, opts.dst_type,
@@ -1421,12 +1403,6 @@
 	int sock;
 	gboolean ret;
 
-	if (type == BT_IO_L2RAW) {
-		ERROR_FAILED(err, "Server L2CAP RAW sockets not supported",
-								EINVAL);
-		return NULL;
-	}
-
 	va_start(args, opt1);
 	ret = parse_set_opts(&opts, err, opt1, args);
 	va_end(args);
diff --git a/btio/btio.h b/btio/btio.h
index 70b32d6..bb35025 100644
--- a/btio/btio.h
+++ b/btio/btio.h
@@ -31,7 +31,6 @@
 GQuark bt_io_error_quark(void);
 
 typedef enum {
-	BT_IO_L2RAW,
 	BT_IO_L2CAP,
 	BT_IO_L2ERTM,
 	BT_IO_RFCOMM,