From 4e25467149ebbbeb60a8656c0bf681d475fd33ab Mon Sep 17 00:00:00 2001 From: Brian Horton Date: Thu, 23 Jan 2014 16:33:31 -0600 Subject: cleanup hwas error module/reasoncodes to work with FSP better. Change-Id: I1ae2fafab64811d6f68f57d437bd5fba16a5d532 CQ: SW239708 Co-req: 910348 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8284 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES Reviewed-by: Donald E. Dahle Reviewed-by: A. Patrick Williams III --- src/usr/errl/parser/genErrlParsers.pl | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'src/usr/errl/parser') diff --git a/src/usr/errl/parser/genErrlParsers.pl b/src/usr/errl/parser/genErrlParsers.pl index 14feb8bf8..182448a65 100755 --- a/src/usr/errl/parser/genErrlParsers.pl +++ b/src/usr/errl/parser/genErrlParsers.pl @@ -6,7 +6,7 @@ # # IBM CONFIDENTIAL # -# COPYRIGHT International Business Machines Corp. 2013 +# COPYRIGHT International Business Machines Corp. 2013,2014 # # p1 # @@ -234,22 +234,6 @@ foreach my $file (@reasonCodeFiles) } $namespace = $1; - # Check for common code files where the reason codes do not contain - # component IDs. Expand this hash as needed to add more components - my %namespaceToCompHash = ( - "HWAS" => "HWAS_COMP_ID"); - - if (exists $namespaceToCompHash{$namespace}) - { - # Reason codes do not contain component IDs - $compId = $namespaceToCompHash{$namespace}; - } - else - { - # Reason codes contain component IDs - $compId = ""; - } - next; } elsif ($line =~ /enum.+ModuleId/i) -- cgit v1.2.3