public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] Bluetooth: Remove 3 repeated macro definitions
@ 2024-01-09 13:08 Zijun Hu
  2024-01-09 14:02 ` [v1] " bluez.test.bot
  2024-04-22 14:51 ` [PATCH v1 RESEND] " Zijun Hu
  0 siblings, 2 replies; 4+ messages in thread
From: Zijun Hu @ 2024-01-09 13:08 UTC (permalink / raw)
  To: luiz.dentz, marcel, johan.hedberg; +Cc: linux-bluetooth, quic_zijuhu

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>
---
 net/bluetooth/hci_request.h | 4 ----
 1 file changed, 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;
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-22 15:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09 13:08 [PATCH v1] Bluetooth: Remove 3 repeated macro definitions Zijun Hu
2024-01-09 14:02 ` [v1] " bluez.test.bot
2024-04-22 14:51 ` [PATCH v1 RESEND] " Zijun Hu
2024-04-22 15:33   ` [v1,RESEND] " bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox