diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-23 12:24:46 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:54:21 -0700 |
commit | 5d9d5eb2bf0f31e41851c4cee01f7ba51dd11bf2 (patch) | |
tree | 5a76e79d3b9134d3a816d3f3bf320f3c8ee7f39b /drivers/staging/epl/EplObd.c | |
parent | Staging: epl: remove some unused types (diff) | |
download | linux-dev-5d9d5eb2bf0f31e41851c4cee01f7ba51dd11bf2.tar.xz linux-dev-5d9d5eb2bf0f31e41851c4cee01f7ba51dd11bf2.zip |
Staging: epl: remove CONST
Just make it const
Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/epl/EplObd.c')
-rw-r--r-- | drivers/staging/epl/EplObd.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/epl/EplObd.c b/drivers/staging/epl/EplObd.c index 6d53e1ca83bc..f449f4c30a7a 100644 --- a/drivers/staging/epl/EplObd.c +++ b/drivers/staging/epl/EplObd.c @@ -2185,12 +2185,10 @@ static tEplObdSize EplObdGetObjectSize(tEplObdSubEntryPtr pSubIndexEntry_p) // The current position is not decleared. The string // is located in ROM, therefor use default pointer. pData = (void *)pSubIndexEntry_p->m_pDefault; - if ((CONST void *)pData != (CONST void *)NULL) { + if ((const void *)pData != (const void *)NULL) { // The max. size of strings defined by STRING-Macro is stored in // tEplObdVString of default value. - DataSize = - ((CONST tEplObdVString *) pData)-> - m_Size; + DataSize = ((const tEplObdVString *)pData)->m_Size; } } @@ -2209,12 +2207,10 @@ static tEplObdSize EplObdGetObjectSize(tEplObdSubEntryPtr pSubIndexEntry_p) // The current position is not decleared. The string // is located in ROM, therefor use default pointer. pData = (void *)pSubIndexEntry_p->m_pDefault; - if ((CONST void *)pData != (CONST void *)NULL) { + if ((const void *)pData != (const void *)NULL) { // The max. size of strings defined by STRING-Macro is stored in // tEplObdVString of default value. - DataSize = - ((CONST tEplObdOString *) pData)-> - m_Size; + DataSize = ((const tEplObdOString *)pData)->m_Size; } } break; |