Whamcloud - gitweb
LU-9859 lustre: remove current_pid() and current_comm()
[fs/lustre-release.git] / libcfs / include / libcfs / curproc.h
index 17ecd90..6a2b09a 100644 (file)
 #ifndef __LIBCFS_CURPROC_H__
 #define __LIBCFS_CURPROC_H__
 
-/* check if task is running in compat mode.*/
-#define current_pid()          (current->pid)
-#define current_comm()         (current->comm)
-
 typedef __u32 cfs_cap_t;
 
 #define CFS_CAP_CHOWN                   0