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:
parent
2ebc16629b
commit
b3d5af0e9d
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue