Skip to content
Permalink
Browse files

net: sockets: Remove TI conditional from offloaded fcntl implementation

Offloaded `fcntl` implementation should be available for all offloaded
implementations, not specific for TI. `socket_offload.c` is already
conditionally compiled based on `CONFIG_NET_SOCKETS_OFFLOAD` option, so
there should not be conflicts for non-offloaded interfaces.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  • Loading branch information...
rlubos authored and nashif committed May 29, 2019
1 parent 627e27a commit 87462df3ef18bbf018a4ed66e5105fe13b9da40a
Showing with 0 additions and 2 deletions.
  1. +0 −2 subsys/net/lib/sockets/socket_offload.c
@@ -20,7 +20,6 @@ void socket_offload_register(const struct socket_offload *ops)
socket_ops = ops;
}

#ifdef CONFIG_SOC_FAMILY_TISIMPLELINK
int fcntl(int fd, int cmd, ...)
{
__ASSERT_NO_MSG(socket_ops);
@@ -35,4 +34,3 @@ int fcntl(int fd, int cmd, ...)

return res;
}
#endif

0 comments on commit 87462df

Please sign in to comment.
You can’t perform that action at this time.