staging: lustre: lnet: lnet: Remove unnecessary else after return
[deliverable/linux.git] / drivers / staging / lustre / lnet / lnet / acceptor.c
index 5dfb887a03ae42dc4f66e41065f6e4778a8ea258..72fd1bf70ca050098b883867d4622b413e0f804f 100644 (file)
@@ -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.023893 seconds and 5 git commands to generate.