diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-05-07 00:33:52 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-05-14 16:54:49 +0200 |
commit | 84a4bb6548a29326564f0e659fb8064503ecc1c7 (patch) | |
tree | c1a3117bc4eff004db52a7a2be6bae7db9462d30 /drivers/bluetooth/virtio_bt.c | |
parent | Bluetooth: L2CAP: Fix div-by-zero in l2cap_le_flowctl_init() (diff) | |
download | linux-84a4bb6548a29326564f0e659fb8064503ecc1c7.tar.xz linux-84a4bb6548a29326564f0e659fb8064503ecc1c7.zip |
Bluetooth: HCI: Remove HCI_AMP support
Since BT_HS has been remove HCI_AMP controllers no longer has any use so
remove it along with the capability of creating AMP controllers.
Since we no longer need to differentiate between AMP and Primary
controllers, as only HCI_PRIMARY is left, this also remove
hdev->dev_type altogether.
Fixes: e7b02296fb40 ("Bluetooth: Remove BT_HS")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth/virtio_bt.c')
-rw-r--r-- | drivers/bluetooth/virtio_bt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/bluetooth/virtio_bt.c b/drivers/bluetooth/virtio_bt.c index 2ac70b560c46..18208e152a36 100644 --- a/drivers/bluetooth/virtio_bt.c +++ b/drivers/bluetooth/virtio_bt.c @@ -274,7 +274,6 @@ static int virtbt_probe(struct virtio_device *vdev) switch (type) { case VIRTIO_BT_CONFIG_TYPE_PRIMARY: - case VIRTIO_BT_CONFIG_TYPE_AMP: break; default: return -EINVAL; @@ -303,7 +302,6 @@ static int virtbt_probe(struct virtio_device *vdev) vbt->hdev = hdev; hdev->bus = HCI_VIRTIO; - hdev->dev_type = type; hci_set_drvdata(hdev, vbt); hdev->open = virtbt_open; |