Bluetooth: Remove 3 repeated macro definitions
authorZijun Hu <quic_zijuhu@quicinc.com>
Mon, 22 Apr 2024 14:51:50 +0000 (22:51 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 14 May 2024 14:51:05 +0000 (10:51 -0400)
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>
net/bluetooth/hci_request.h

index 0be75cf..c91f283 100644 (file)
 #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;