staging: lustre: remove typedef for group_info_t
[firefly-linux-kernel-4.4.55.git] / drivers / staging / lustre / include / linux / libcfs / linux / linux-prim.h
index a4963a8dfdd859d5b6572ed77c2e2d3fe0700b93..e210a90655b97d2bba26520753e08a4245110857 100644 (file)
@@ -49,7 +49,6 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
-#include <linux/version.h>
 #include <linux/proc_fs.h>
 #include <linux/mm.h>
 #include <linux/timer.h>
 
 #include <linux/libcfs/linux/linux-time.h>
 
-
-/*
- * CPU
- */
-#ifdef for_each_possible_cpu
-#define cfs_for_each_possible_cpu(cpu) for_each_possible_cpu(cpu)
-#elif defined(for_each_cpu)
-#define cfs_for_each_possible_cpu(cpu) for_each_cpu(cpu)
-#endif
-
-#ifdef NR_CPUS
-#else
-#define NR_CPUS     1
-#endif
-
-/*
- * cache
- */
-
-/*
- * IRQs
- */
-
-
-/*
- * Pseudo device register
- */
-typedef struct miscdevice              psdev_t;
-
 /*
  * Sysctl register
  */
 typedef struct ctl_table               ctl_table_t;
 typedef struct ctl_table_header                ctl_table_header_t;
 
-#define cfs_register_sysctl_table(t, a) register_sysctl_table(t)
-
 #define DECLARE_PROC_HANDLER(name)                   \
 static int                                           \
 LL_PROC_PROTO(name)                                 \
@@ -112,16 +80,6 @@ LL_PROC_PROTO(name)                              \
                                 __##name);          \
 }
 
-/*
- * Symbol register
- */
-#define cfs_symbol_register(s, p)       do {} while(0)
-#define cfs_symbol_unregister(s)       do {} while(0)
-#define cfs_symbol_get(s)             symbol_get(s)
-#define cfs_symbol_put(s)             symbol_put(s)
-
-typedef struct module module_t;
-
 /*
  * Proc file system APIs
  */
@@ -210,32 +168,7 @@ do {                                                                \
 /*
  * atomic
  */
-
-
 #define cfs_atomic_add_unless(atom, a, u)    atomic_add_unless(atom, a, u)
 #define cfs_atomic_cmpxchg(atom, old, nv)    atomic_cmpxchg(atom, old, nv)
 
-/*
- * membar
- */
-
-
-/*
- * interrupt
- */
-
-
-/*
- * might_sleep
- */
-
-/*
- * group_info
- */
-typedef struct group_info group_info_t;
-
-
-/*
- * Random bytes
- */
 #endif