Remove the unused global variable g_uiCacheLineSize
This commit is contained in:
parent
eeb11578ca
commit
8bc5bf58a0
@ -49,9 +49,6 @@
|
||||
namespace WelsDec {
|
||||
|
||||
|
||||
// cache line size
|
||||
extern uint32_t g_uiCacheLineSize;
|
||||
|
||||
/*
|
||||
* Function pointer declaration for various tool sets
|
||||
*/
|
||||
|
@ -166,16 +166,8 @@ void_t WelsDecoderDefaults (PWelsDecoderContext pCtx) {
|
||||
pCtx->bAuReadyFlag = 0; // au data is not ready
|
||||
|
||||
|
||||
g_uiCacheLineSize = 16;
|
||||
#if defined(X86_ASM)
|
||||
pCtx->uiCpuFlag = WelsCPUFeatureDetect (&iCpuCores);
|
||||
#ifdef HAVE_CACHE_LINE_ALIGN
|
||||
if (pCtx->uiCpuFlag & WELS_CPU_CACHELINE_64) {
|
||||
g_uiCacheLineSize = 64;
|
||||
} else if (pCtx->uiCpuFlag & WELS_CPU_CACHELINE_32) {
|
||||
g_uiCacheLineSize = 32;
|
||||
}
|
||||
#endif//HAVE_CACHE_LINE_ALIGN
|
||||
#endif//X86_ASM
|
||||
|
||||
pCtx->iImgWidthInPixel = 0;
|
||||
|
@ -67,8 +67,6 @@
|
||||
|
||||
namespace WelsDec {
|
||||
|
||||
// cache line size
|
||||
uint32_t g_uiCacheLineSize = 16;
|
||||
// to fill default routines
|
||||
PWelsLogCallbackFunc g_pLog = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user