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 6621dc016ba25f2e4436b9ecc250f86217b22e11
Author: Petro Karashchenko <[email protected]>
AuthorDate: Mon Jul 31 20:41:07 2023 +0200

    net/udp: remove FAR from non-pointer variables
    
    Signed-off-by: Petro Karashchenko <[email protected]>
---
 net/udp/udp_callback.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/udp/udp_callback.c b/net/udp/udp_callback.c
index 309f494775..d573608808 100644
--- a/net/udp/udp_callback.c
+++ b/net/udp/udp_callback.c
@@ -58,14 +58,14 @@ static uint16_t udp_datahandler(FAR struct net_driver_s 
*dev,
   FAR struct iob_s *iob;
   int ret;
 #ifdef CONFIG_NET_IPv6
-  FAR struct sockaddr_in6 src_addr6 =
+  struct sockaddr_in6 src_addr6 =
   {
     0
   };
 #endif
 
 #ifdef CONFIG_NET_IPv4
-  FAR struct sockaddr_in src_addr4 =
+  struct sockaddr_in src_addr4 =
   {
     0
   };

Reply via email to