Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2016 20:37:58 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298365 - head/sys/dev/hwpmc
Message-ID:  <201604202037.u3KKbwbr076893@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Wed Apr 20 20:37:58 2016
New Revision: 298365
URL: https://svnweb.freebsd.org/changeset/base/298365

Log:
  Remove unused e500_event_codes_size.
  
  Found by:	jhb

Modified:
  head/sys/dev/hwpmc/hwpmc_e500.c

Modified: head/sys/dev/hwpmc/hwpmc_e500.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_e500.c	Wed Apr 20 20:30:18 2016	(r298364)
+++ head/sys/dev/hwpmc/hwpmc_e500.c	Wed Apr 20 20:37:58 2016	(r298365)
@@ -242,9 +242,6 @@ static struct e500_event_code_map e500_e
 	PMC_E500MC_ONLY(STWCX_FAILURES, 180),
 };
 
-const size_t e500_event_codes_size = 
-	sizeof(e500_event_codes) / sizeof(e500_event_codes[0]);
-
 static pmc_value_t
 e500_pmcn_read(unsigned int pmc)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604202037.u3KKbwbr076893>