From cff40aa34cc997a8e362d6c365aa9d9edb4bb846 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 1 May 2023 22:15:05 +0800 Subject: [PATCH] net: Remove some minor #warning since it compiler specific Signed-off-by: Xiang Xiao --- net/bluetooth/bluetooth_poll.c | 2 +- net/bluetooth/bluetooth_recvmsg.c | 2 +- net/bluetooth/bluetooth_sendmsg.c | 2 +- net/can/can_sockif.c | 2 +- net/ieee802154/ieee802154_poll.c | 2 +- net/ieee802154/ieee802154_recvmsg.c | 2 +- net/ieee802154/ieee802154_sendmsg.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/net/bluetooth/bluetooth_poll.c b/net/bluetooth/bluetooth_poll.c index 3edd9fe395..2dc414c8ef 100644 --- a/net/bluetooth/bluetooth_poll.c +++ b/net/bluetooth/bluetooth_poll.c @@ -87,7 +87,7 @@ void bluetooth_poll(FAR struct net_driver_s *dev, * REVISIT: Need to pass the meta data and the IOB through the callback */ -#warning Missing logic + /* #warning Missing logic */ /* Perform the application callback */ diff --git a/net/bluetooth/bluetooth_recvmsg.c b/net/bluetooth/bluetooth_recvmsg.c index 5ed7d9915b..bf591b3dba 100644 --- a/net/bluetooth/bluetooth_recvmsg.c +++ b/net/bluetooth/bluetooth_recvmsg.c @@ -225,7 +225,7 @@ static uint16_t bluetooth_recvfrom_eventhandler(FAR struct net_driver_s *dev, /* Make sure that this is the driver to which the socket is bound. */ -#warning Missing logic + /* #warning Missing logic */ pstate = pvpriv; radio = (FAR struct radio_driver_s *)dev; diff --git a/net/bluetooth/bluetooth_sendmsg.c b/net/bluetooth/bluetooth_sendmsg.c index b2059b37bd..cbcf66dcea 100644 --- a/net/bluetooth/bluetooth_sendmsg.c +++ b/net/bluetooth/bluetooth_sendmsg.c @@ -103,7 +103,7 @@ static uint16_t bluetooth_sendto_eventhandler(FAR struct net_driver_s *dev, /* Make sure that this is the driver to which the socket is connected. */ -#warning Missing logic + /* #warning Missing logic */ pstate = pvpriv; radio = (FAR struct radio_driver_s *)dev; diff --git a/net/can/can_sockif.c b/net/can/can_sockif.c index a0eb925c45..fc47eedc97 100644 --- a/net/can/can_sockif.c +++ b/net/can/can_sockif.c @@ -494,7 +494,7 @@ static int can_close(FAR struct socket *psock) { /* Yes... inform user-space daemon of socket close. */ -#warning Missing logic + /* #warning Missing logic */ /* Free the connection structure */ diff --git a/net/ieee802154/ieee802154_poll.c b/net/ieee802154/ieee802154_poll.c index 3175804b8c..0ac358484d 100644 --- a/net/ieee802154/ieee802154_poll.c +++ b/net/ieee802154/ieee802154_poll.c @@ -85,7 +85,7 @@ void ieee802154_poll(FAR struct net_driver_s *dev, * Need to pass the meta data and the IOB through the callback. */ -#warning Missing logic + /* #warning Missing logic */ /* Perform the application callback */ diff --git a/net/ieee802154/ieee802154_recvmsg.c b/net/ieee802154/ieee802154_recvmsg.c index f333420d12..526c2c7e46 100644 --- a/net/ieee802154/ieee802154_recvmsg.c +++ b/net/ieee802154/ieee802154_recvmsg.c @@ -225,7 +225,7 @@ static uint16_t /* Make sure that this is the driver to which the socket is bound. */ -#warning Missing logic + /* #warning Missing logic */ pstate = pvpriv; radio = (FAR struct radio_driver_s *)dev; diff --git a/net/ieee802154/ieee802154_sendmsg.c b/net/ieee802154/ieee802154_sendmsg.c index 6be48ee996..d3d11c725a 100644 --- a/net/ieee802154/ieee802154_sendmsg.c +++ b/net/ieee802154/ieee802154_sendmsg.c @@ -292,7 +292,7 @@ static uint16_t ieee802154_sendto_eventhandler(FAR struct net_driver_s *dev, /* Make sure that this is the driver to which the socket is connected. */ -#warning Missing logic + /* #warning Missing logic */ pstate = pvpriv; radio = (FAR struct radio_driver_s *)dev;