Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-4699 libcfs: unify ERR_PTR definitions
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
winnt
/
winnt-fs.h
diff --git
a/libcfs/include/libcfs/winnt/winnt-fs.h
b/libcfs/include/libcfs/winnt/winnt-fs.h
index
41b207c
..
492cc2e
100644
(file)
--- a/
libcfs/include/libcfs/winnt/winnt-fs.h
+++ b/
libcfs/include/libcfs/winnt/winnt-fs.h
@@
-477,8
+477,4
@@
struct dentry {
* misc
*/
-#define ERR_PTR(error) ((void *)(long_ptr_t)(error))
-#define PTR_ERR(ptr) ((long)(long_ptr_t) (ptr))
-#define IS_ERR(ptr) ((long)(((ulong_ptr_t) (ptr)) > (ulong_ptr_t)(-1000L)))
-
#endif /* __LIBCFS_WINNT_CFS_FS_H__*/