Skip to content

Commit 94c603c

Browse files
Zijun HuVudentz
authored andcommitted
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>
1 parent d68d8a7 commit 94c603c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

net/bluetooth/hci_request.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
#define hci_req_sync_lock(hdev) mutex_lock(&hdev->req_lock)
3030
#define hci_req_sync_unlock(hdev) mutex_unlock(&hdev->req_lock)
3131

32-
#define HCI_REQ_DONE 0
33-
#define HCI_REQ_PEND 1
34-
#define HCI_REQ_CANCELED 2
35-
3632
struct hci_request {
3733
struct hci_dev *hdev;
3834
struct sk_buff_head cmd_q;

0 commit comments

Comments
 (0)