staging: lustre: lnet: lnet: Remove unnecessary else after return
This patch fixes checpatch.pl warning in acceptor.c file. WARNING: else is not generally useful after a break or return Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f12ebb3911
commit
2c1d2535db
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue