Module: xenomai-forge
Branch: master
Commit: 3dc623889ab8a6dcbe2aa4467eed57021a2d8539
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=3dc623889ab8a6dcbe2aa4467eed57021a2d8539

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Dec  4 20:37:24 2012 +0100

nucleus/select: remove obsolete conditional

---

 include/cobalt/nucleus/select.h |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/include/cobalt/nucleus/select.h b/include/cobalt/nucleus/select.h
index d9ee5cf..8cd64a9 100644
--- a/include/cobalt/nucleus/select.h
+++ b/include/cobalt/nucleus/select.h
@@ -84,8 +84,6 @@ static inline void __FD_ZERO__(__kernel_fd_set *__p)
        }
 }
 
-#ifdef CONFIG_XENO_OPT_SELECT
-
 struct xnselect {
        xnqueue_t bindings;
 };
@@ -154,16 +152,6 @@ int xnselect_umount(void);
 }
 #endif /* __cplusplus */
 
-#else /* !CONFIG_XENO_OPT_SELECT */
-struct xnselector;
-#define DECLARE_XNSELECT(name)
-#define xnselect_init(block)
-#define xnselect_bind(select_block,binding,selector,type,bit_index,state) \
-       ({ -EBADF; })
-#define xnselect_signal(block, state) ({ int __ret = 0; __ret; })
-#define xnselect_destroy(block)
-#endif /* !CONFIG_XENO_OPT_SELECT */
-
 /*@}*/
 
 #endif /* XNSELECT_H */


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to