diff options
author | NeilBrown <neilb@suse.com> | 2018-05-21 14:35:12 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 18:29:10 +0200 |
commit | 63fd7d04580b6345ff1e0aab906c034f973d493e (patch) | |
tree | 759d921e2ae81fc0f703a94f5993de69626d860f /drivers/staging/lustre/include | |
parent | 7b8e2026fb185e5178f9137c463ff07fc895be5d (diff) | |
download | op-kernel-dev-63fd7d04580b6345ff1e0aab906c034f973d493e.zip op-kernel-dev-63fd7d04580b6345ff1e0aab906c034f973d493e.tar.gz |
staging: lustre: remove current_pid() and current_comm()
Just use current->pid and current->comm directly, instead
of having wrappers.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/curproc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/curproc.h b/drivers/staging/lustre/include/linux/libcfs/curproc.h index d6e4f47..83526f8 100644 --- a/drivers/staging/lustre/include/linux/libcfs/curproc.h +++ b/drivers/staging/lustre/include/linux/libcfs/curproc.h @@ -48,10 +48,6 @@ * kernel_cap_t */ -/* 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_FS_MASK (BIT(CAP_CHOWN) | \ |