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:
parent
627e27a25f
commit
87462df3ef
1 changed files with 0 additions and 2 deletions
|
@ -20,7 +20,6 @@ void socket_offload_register(const struct socket_offload *ops)
|
||||||
socket_ops = ops;
|
socket_ops = ops;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_SOC_FAMILY_TISIMPLELINK
|
|
||||||
int fcntl(int fd, int cmd, ...)
|
int fcntl(int fd, int cmd, ...)
|
||||||
{
|
{
|
||||||
__ASSERT_NO_MSG(socket_ops);
|
__ASSERT_NO_MSG(socket_ops);
|
||||||
|
@ -35,4 +34,3 @@ int fcntl(int fd, int cmd, ...)
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue