Taken out: #ifdef QCOM_BSP allocSize = gralloc_alloc_size; #endif