summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/ldlm/ldlm_internal.h
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2016-04-01 15:18:03 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-11 20:44:17 -0700
commit7f2d15bb587a8ed8e2ddebd7ffdfcc94b5113f93 (patch)
tree8d8c01cd6ed1ef73be2c27900d2c6a53ebb221c8 /drivers/staging/lustre/lustre/ldlm/ldlm_internal.h
parentda5ecb4dfd84fa4eaba782fc3fa0aa0f807a5804 (diff)
downloadop-kernel-dev-7f2d15bb587a8ed8e2ddebd7ffdfcc94b5113f93.zip
op-kernel-dev-7f2d15bb587a8ed8e2ddebd7ffdfcc94b5113f93.tar.gz
staging/lustre: Get rid of ldlm_policy_res_t typedef
Directly use enum ldlm_policy_res everywhere. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/ldlm/ldlm_internal.h')
-rw-r--r--drivers/staging/lustre/lustre/ldlm/ldlm_internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_internal.h b/drivers/staging/lustre/lustre/ldlm/ldlm_internal.h
index 351f8b4..ba643e6 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_internal.h
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_internal.h
@@ -218,8 +218,6 @@ enum ldlm_policy_res {
LDLM_POLICY_SKIP_LOCK
};
-typedef enum ldlm_policy_res ldlm_policy_res_t;
-
#define LDLM_POOL_SYSFS_PRINT_int(v) sprintf(buf, "%d\n", v)
#define LDLM_POOL_SYSFS_SET_int(a, b) { a = b; }
#define LDLM_POOL_SYSFS_PRINT_u64(v) sprintf(buf, "%lld\n", v)
OpenPOWER on IntegriCloud