diff --git a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/authentication/LispMacAuthentication.java b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/authentication/LispMacAuthentication.java index ced2d2d34c..23d7700ca7 100644 --- a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/authentication/LispMacAuthentication.java +++ b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/authentication/LispMacAuthentication.java @@ -47,7 +47,6 @@ public class LispMacAuthentication { algorithm = authType.getName(); } else { log.warn(NOT_SUPPORT_ALGORITHM_MSG, authType.getName()); - return; } } @@ -82,13 +81,4 @@ public class LispMacAuthentication { throw new RuntimeException(e); } } - - /** - * Obtains authentication algorithm. - * - * @return authentication algorithm - */ - String getAlgorithm() { - return algorithm; - } }