svn commit: r298365 - head/sys/dev/hwpmc
Pedro F. Giffuni
pfg at FreeBSD.org
Wed Apr 20 20:37:59 UTC 2016
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)
{
More information about the svn-src-head
mailing list