diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2016-11-21 23:17:02 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-12-12 12:49:20 -0500 |
commit | 04102c76a779f1c4cec4f0fb51cacc360117b522 (patch) | |
tree | be5553835412b8137355d9616ff379fd7bf4a948 /fs/orangefs/orangefs-sysfs.c | |
parent | 4defb5f912a0ba60e07e91a4b62634814cd99b7f (diff) | |
download | linux-04102c76a779f1c4cec4f0fb51cacc360117b522.tar.bz2 |
orangefs: Axe some dead code
The "perf_counter_reset" case has already been handled above.
Moreover "ORANGEFS_PARAM_REQUEST_OP_READAHEAD_COUNT_SIZE" is not a really
consistent.
It is likely that this (dead) code is a cut and paste left over.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-sysfs.c')
-rw-r--r-- | fs/orangefs/orangefs-sysfs.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/orangefs/orangefs-sysfs.c b/fs/orangefs/orangefs-sysfs.c index a799546a67f7..084954448f18 100644 --- a/fs/orangefs/orangefs-sysfs.c +++ b/fs/orangefs/orangefs-sysfs.c @@ -609,15 +609,6 @@ static ssize_t sysfs_service_op_store(struct kobject *kobj, new_op->upcall.req.param.u.value32[0] = val1; new_op->upcall.req.param.u.value32[1] = val2; goto value_set; - } else if (!strcmp(attr->attr.name, - "perf_counter_reset")) { - if ((val > 0)) { - new_op->upcall.req.param.op = - ORANGEFS_PARAM_REQUEST_OP_READAHEAD_COUNT_SIZE; - } else { - rc = 0; - goto out; - } } } else if (!strcmp(kobj->name, ACACHE_KOBJ_ID)) { |