You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/04/21 17:37:34 UTC
[nuttx] 04/04: bt_rpmsghci: fix warnings
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit b737d410b93e5a4905c733a823c949421c6a2251
Author: raiden00pl <ra...@railab.me>
AuthorDate: Tue Mar 14 11:16:14 2023 +0100
bt_rpmsghci: fix warnings
---
drivers/wireless/bluetooth/bt_rpmsghci.c | 2 --
drivers/wireless/bluetooth/bt_rpmsghci_server.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/drivers/wireless/bluetooth/bt_rpmsghci.c b/drivers/wireless/bluetooth/bt_rpmsghci.c
index 29cf7288f6..a472436b3d 100644
--- a/drivers/wireless/bluetooth/bt_rpmsghci.c
+++ b/drivers/wireless/bluetooth/bt_rpmsghci.c
@@ -163,7 +163,6 @@ static int rpmsghci_bt_open(struct bt_driver_s *btdev)
FAR struct rpmsghci_s *priv = NULL;
FAR struct rpmsghci_open_s *msg = NULL;
uint32_t space = 0;
- int ret = OK;
/* Get RPMSG-HCI data */
@@ -242,7 +241,6 @@ static int rpmsghci_bt_send(struct bt_driver_s *btdev, uint8_t type,
FAR struct rpmsghci_s *priv = NULL;
FAR struct rpmsghci_data_s *msg = NULL;
uint32_t space = 0;
- int ret = OK;
wlinfo("rpmsghci_bt_send %d\n", type);
diff --git a/drivers/wireless/bluetooth/bt_rpmsghci_server.c b/drivers/wireless/bluetooth/bt_rpmsghci_server.c
index b91cf59770..fbd97d5768 100644
--- a/drivers/wireless/bluetooth/bt_rpmsghci_server.c
+++ b/drivers/wireless/bluetooth/bt_rpmsghci_server.c
@@ -449,7 +449,6 @@ int rpmsghci_bt_receive(FAR struct bt_driver_s *btdev, uint8_t type,
FAR struct rpmsghci_server_s *priv = NULL;
FAR struct rpmsghci_data_s *msg = NULL;
uint32_t space = 0;
- int ret = OK;
wlinfo("rpmsghci_bt_receive %d\n", type);