summaryrefslogtreecommitdiff
path: root/nuttx/net/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/socket.c')
-rw-r--r--nuttx/net/socket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nuttx/net/socket.c b/nuttx/net/socket.c
index b35c8e866..5efc86df9 100644
--- a/nuttx/net/socket.c
+++ b/nuttx/net/socket.c
@@ -88,9 +88,7 @@
int socket(int domain, int type, int protocol)
{
-#ifdef CONFIG_NET_UDP
FAR struct socket *psock;
-#endif
int sockfd;
int err;