projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: lustre: lnet: lnet: Remove unnecessary else after return
[deliverable/linux.git]
/
drivers
/
staging
/
lustre
/
lnet
/
lnet
/
acceptor.c
diff --git
a/drivers/staging/lustre/lnet/lnet/acceptor.c
b/drivers/staging/lustre/lnet/lnet/acceptor.c
index 5dfb887a03ae42dc4f66e41065f6e4778a8ea258..72fd1bf70ca050098b883867d4622b413e0f804f 100644
(file)
--- a/
drivers/staging/lustre/lnet/lnet/acceptor.c
+++ b/
drivers/staging/lustre/lnet/lnet/acceptor.c
@@
-434,11
+434,11
@@
accept2secure(const char *acc, long *sec)
return 1;
} else if (!strcmp(acc, "none")) {
return 0;
- } else {
- LCONSOLE_ERROR_MSG(0x124, "Can't parse 'accept=\"%s\"'\n",
- acc);
- return -EINVAL;
}
+
+ LCONSOLE_ERROR_MSG(0x124, "Can't parse 'accept=\"%s\"'\n",
+ acc);
+ return -EINVAL;
}
int
This page took
0.0312 seconds
and
5
git commands to generate.