lib: fdtable: Remove workaround for SimpleLink for fcntl

Given socket offloading is now implemented under the fd's vtable, we can
directly use the default fcntl implementation.

Signed-off-by: Vincent Wan <vwan@ti.com>
This commit is contained in:
Vincent Wan 2020-07-24 14:45:09 -07:00 committed by Carles Cufí
commit b3d5af0e9d

View file

@ -238,12 +238,6 @@ int ioctl(int fd, unsigned long request, ...)
return res;
}
/*
* In the SimpleLink case, we have yet to add support for the fdtable
* feature. The socket offload subsys has already defined fcntl, hence we
* avoid redefining fcntl here.
*/
#ifndef CONFIG_SOC_FAMILY_TISIMPLELINK
int fcntl(int fd, int cmd, ...)
{
va_list args;
@ -268,7 +262,6 @@ int fcntl(int fd, int cmd, ...)
return res;
}
#endif
/*
* fd operations for stdio/stdout/stderr