summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H
diff options
context:
space:
mode:
authorMatt Derksen <v2cibmd@us.ibm.com>2016-05-18 17:38:39 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-05-20 09:58:40 -0400
commit67a1e14dfd6dac7381596085dfeb214f8efabe22 (patch)
tree26b2f6ed692983cfac55a5df559b618f34e0d959 /src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H
parent06e5c818cb0f6dbd8cf1273afdfb8cb6759a5347 (diff)
downloadtalos-hostboot-67a1e14dfd6dac7381596085dfeb214f8efabe22.tar.gz
talos-hostboot-67a1e14dfd6dac7381596085dfeb214f8efabe22.zip
Remove curly brackets for VECTOR_TO_1D_ARRAY macros
Change-Id: Id6245684d53156ecb276824ca86fae03486f547e RTC:133837 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24754 Tested-by: Jenkins Server Tested-by: Hostboot CI Reviewed-by: Brian R. Silver <bsilver@us.ibm.com> Reviewed-by: ANDRE A. MARIN <aamarin@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24756 Tested-by: FSP CI Jenkins
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H b/src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H
index 070bbef73..b801ccf0b 100644
--- a/src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H
+++ b/src/import/chips/p9/procedures/hwp/memory/lib/utils/conversions.H
@@ -44,9 +44,7 @@
/// @warn compiler doesn't like the use of vector method size() for the second param
///
#define UINT8_VECTOR_TO_1D_ARRAY(X, Y)\
- {\
- reinterpret_cast<uint8_t(&)[Y]>(*X.data())\
- }
+ reinterpret_cast<uint8_t(&)[Y]>(*X.data())
///
/// @brief Dereferences pointer of the vector's underlying data
@@ -56,9 +54,7 @@
/// @warn compiler doesn't like the use of vector method size() for the second param
///
#define UINT16_VECTOR_TO_1D_ARRAY(X, Y)\
- {\
- reinterpret_cast<uint16_t(&)[Y]>(*X.data())\
- }
+ reinterpret_cast<uint16_t(&)[Y]>(*X.data())
///
/// @brief Dereferences pointer of the vector's underlying data
@@ -68,9 +64,8 @@
/// @warn compiler doesn't like the use of vector method size() for the second param
///
#define UINT32_VECTOR_TO_1D_ARRAY(X, Y)\
- {\
- reinterpret_cast<uint32_t(&)[Y]>(*X.data())\
- }
+ reinterpret_cast<uint32_t(&)[Y]>(*X.data())
+
// Mutiplication factor to go from clocks to simcycles.
// Is this just 2400 speed or does this hold for all? BRS
OpenPOWER on IntegriCloud