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-6245 lnet: remove kernel defines in userland headers
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
libcfs.h
diff --git
a/libcfs/include/libcfs/libcfs.h
b/libcfs/include/libcfs/libcfs.h
index
39511fe
..
c82a3d9
100644
(file)
--- a/
libcfs/include/libcfs/libcfs.h
+++ b/
libcfs/include/libcfs/libcfs.h
@@
-71,10
+71,6
@@
#include "curproc.h"
-#ifndef offsetof
-# define offsetof(typ,memb) ((long)(long_ptr_t)((char *)&(((typ *)0)->memb)))
-#endif
-
#ifndef ARRAY_SIZE
#define ARRAY_SIZE(a) ((sizeof (a)) / (sizeof ((a)[0])))
#endif