git: 24ccef81405e - main - bluetooth: Remove stray btccc references

Warner Losh imp at FreeBSD.org
Thu Sep 30 04:03:47 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=24ccef81405eb25efc65f16b6e9a787f3a51151a

commit 24ccef81405eb25efc65f16b6e9a787f3a51151a
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-09-30 03:58:27 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-09-30 03:58:27 +0000

    bluetooth: Remove stray btccc references
    
    The 3com bluetooth PC Card adapter was removed from the tree when PC
    Card support was removed earlier this year. Remove stray references to
    it still in the tree.
    
    Sponsored by:           Netflix
---
 lib/libbluetooth/hci.c    | 1 -
 libexec/rc/rc.d/bluetooth | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/lib/libbluetooth/hci.c b/lib/libbluetooth/hci.c
index 3a524cebc3ae..95e96c479157 100644
--- a/lib/libbluetooth/hci.c
+++ b/lib/libbluetooth/hci.c
@@ -762,7 +762,6 @@ static char *
 bt_dev2node(char const *devname, char *nodename, int nnlen)
 {
 	static char const *	 bt_dev_prefix[] = {
-		"btccc",	/* 3Com Bluetooth PC-CARD */
 		"h4",		/* UART/serial Bluetooth devices */
 		"ubt",		/* Bluetooth USB devices */
 		NULL		/* should be last */
diff --git a/libexec/rc/rc.d/bluetooth b/libexec/rc/rc.d/bluetooth
index b89a2c328048..ca83792ab96c 100755
--- a/libexec/rc/rc.d/bluetooth
+++ b/libexec/rc/rc.d/bluetooth
@@ -296,10 +296,6 @@ bluetooth_stop()
 
 	# Try to figure out device type by looking at device name
 	case "${dev}" in
-	# 3Com Bluetooth Adapter 3CRWB60-A
-	btccc*)
-		;;
-
 	# USB Bluetooth adapters
 	ubt*)
 		;;


More information about the dev-commits-src-main mailing list