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>
This commit is contained in:
Robert Lubos 2019-05-29 16:08:07 +02:00 committed by Anas Nashif
parent 627e27a25f
commit 87462df3ef
1 changed files with 0 additions and 2 deletions

View File

@ -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