diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 08:56:42 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-04 08:56:42 +0800 |
commit | 68b636b68ebb58ef7a400886249be6479bdce96d (patch) | |
tree | d9e8cc253f7346440563cf7a04cf5ac07098ad9b /drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h | |
parent | e7e73793d17fc413d552bc00fd57a57439f6c293 (diff) |
staging: lustre: remove task_t typedef
Use struct task_struct instead.
Also remove the unused libcfs_current() function, while I noticed it
doing this conversion.
Cc: Peng Tao <tao.peng@emc.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h index ae495a2ee434..c78f71a23592 100644 --- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h +++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-prim.h @@ -85,10 +85,6 @@ LL_PROC_PROTO(name) \ */ typedef struct proc_dir_entry proc_dir_entry_t; -/* - * Task struct - */ -typedef struct task_struct task_t; #define DECL_JOURNAL_DATA void *journal_info #define PUSH_JOURNAL do { \ journal_info = current->journal_info; \ |