Skip to content
  • Jan Kiszka's avatar
    cobalt/posix/io: Remove unneeded special case of select_bind_one · 50c0367d
    Jan Kiszka authored
    Already at the time of introduction (8ac3db81
    
    ), -ENOENT was not
    returned by any sane function behind rtdm_fd_select(). Today
    rtdm_fd_select() officially only returns -EBADF or -EINVAL. By now it
    also returns -EADV, via rtdm_fd_get() or a default select handler. The
    only remaining possibility for -ENOENT is a select handler. In-tree,
    a4l_rt_select actually has such a case, but for no sane reason this or
    any out-of-tree driver case should receive special handling here.
    
    Remove this case, these is also no need for the select_bind_one wrapper
    anymore.
    
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    50c0367d