Module: xenomai-jki
Branch: for-upstream
Commit: 0306c0283838b79856502407ed9fed094a751fc8
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=0306c0283838b79856502407ed9fed094a751fc8

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

nucleus: 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/nucleus/vfile.h |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/include/nucleus/vfile.h b/include/nucleus/vfile.h
index 880d488..c474aaf 100644
--- a/include/nucleus/vfile.h
+++ b/include/nucleus/vfile.h
@@ -574,21 +574,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