Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
488cbc8
)
Remove lprocfs wierdness.
author
adilger
<adilger>
Tue, 12 Nov 2002 00:01:11 +0000
(
00:01
+0000)
committer
adilger
<adilger>
Tue, 12 Nov 2002 00:01:11 +0000
(
00:01
+0000)
lustre/obdclass/genops.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
fe40668
..
51ad1b1
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-174,10
+174,8
@@
int class_register_type(struct obd_ops *ops, struct lprocfs_vars* vars, char *nm
memcpy(type->typ_ops, ops, sizeof(*type->typ_ops));
strcpy(type->typ_name, nm);
rc = lprocfs_reg_class(type, (struct lprocfs_vars*)vars, (void*)type);
- if(rc)
- RETURN(rc);
-
- RETURN(0);
+
+ RETURN(rc);
}
int class_unregister_type(char *nm)