summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2024-04-22 17:51:50 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2024-05-14 17:51:05 +0300
commit94c603c28e59091f698efc5caaddc93c365455ab (patch)
tree98829a9de5371ad519c481deca5bd640c99752cd /net
parentd68d8a7a2c62312c81c066d38bb0662e67b58206 (diff)
downloadlinux-94c603c28e59091f698efc5caaddc93c365455ab.tar.xz
Bluetooth: Remove 3 repeated macro definitions
Macros HCI_REQ_DONE, HCI_REQ_PEND and HCI_REQ_CANCELED are repeatedly defined twice with hci_request.h, so remove a copy of definition. Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/hci_request.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/bluetooth/hci_request.h b/net/bluetooth/hci_request.h
index 0be75cf0efed..c91f2838f542 100644
--- a/net/bluetooth/hci_request.h
+++ b/net/bluetooth/hci_request.h
@@ -29,10 +29,6 @@
#define hci_req_sync_lock(hdev) mutex_lock(&hdev->req_lock)
#define hci_req_sync_unlock(hdev) mutex_unlock(&hdev->req_lock)
-#define HCI_REQ_DONE 0
-#define HCI_REQ_PEND 1
-#define HCI_REQ_CANCELED 2
-
struct hci_request {
struct hci_dev *hdev;
struct sk_buff_head cmd_q;