Module: xenomai-forge
Branch: next
Commit: 69c2ef10c9129b40053b7de406362b8a67bf6e0d
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=69c2ef10c9129b40053b7de406362b8a67bf6e0d

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Tue Aug 20 19:30:38 2013 +0200

cobalt/vfile: Remove unused xnvfile_*_p helpers

They won't work anymore with 3.10 as proc_dir_entry became opaque.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 include/cobalt/kernel/vfile.h |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/include/cobalt/kernel/vfile.h b/include/cobalt/kernel/vfile.h
index 97e6290..9f2e5ad 100644
--- a/include/cobalt/kernel/vfile.h
+++ b/include/cobalt/kernel/vfile.h
@@ -569,21 +569,6 @@ static inline void xnvfile_touch(struct xnvfile_snapshot 
*vfile)
        xnvfile_touch_tag(vfile->tag);
 }
 
-static inline int xnvfile_reg_p(struct xnvfile *entry)
-{
-       return S_ISREG(entry->pde->mode);
-}
-
-static inline int xnvfile_dir_p(struct xnvfile *entry)
-{
-       return S_ISDIR(entry->pde->mode);
-}
-
-static inline int xnvfile_link_p(struct xnvfile *entry)
-{
-       return S_ISLNK(entry->pde->mode);
-}
-
 #define xnvfile_noentry                        \
        {                               \
                .pde = NULL,            \


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

Reply via email to