diff --git a/utilities_common/helper.py b/utilities_common/helper.py index 6c0a42da6e..6dfc52f87d 100644 --- a/utilities_common/helper.py +++ b/utilities_common/helper.py @@ -3,8 +3,6 @@ from .db import Db import copy -IFNAMSIZ = 16 - def get_port_acl_binding(db_wrap, port, ns): """ Verify if the port is not bound to any ACL Table @@ -37,15 +35,6 @@ def get_port_acl_binding(db_wrap, port, ns): return acl_tables -def validate_interface_name_length(iface_name): - """ - Verify that interface name length does not exceed IFNAMSIZ - """ - if len(iface_name) == 0: - return False - return True if len(iface_name) < IFNAMSIZ else False - - def get_port_pbh_binding(db_wrap, port, ns): """ Verify if the port is not bound to any PBH Table