From f88f1f90d4ff6029641e1ce4cd8d3f47c1dff977 Mon Sep 17 00:00:00 2001 From: Nigel Kukard <nkukard@lbsd.net> Date: Sun, 12 Jan 2014 08:32:24 +0000 Subject: [PATCH] Removed invalid function isClassIDValid There is a isTrafficClassIDValid which does the same thing --- opentrafficshaper/plugins/configmanager.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/opentrafficshaper/plugins/configmanager.pm b/opentrafficshaper/plugins/configmanager.pm index bad5759..82c2fd0 100644 --- a/opentrafficshaper/plugins/configmanager.pm +++ b/opentrafficshaper/plugins/configmanager.pm @@ -1474,20 +1474,6 @@ sub isGroupIDValid } -# Function to check the class ID exists -sub isClassIDValid -{ - my $cid = shift; - - - if (!defined($config->{'classes'}->{$cid})) { - return; - } - - return $cid; -} - - # Function to return if an interface ID is valid sub isInterfaceIDValid { -- GitLab