From 58aea3f36c14414f95668e229a7350598f6c53a8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 30 Sep 2015 10:29:19 +0200 Subject: loplugin:unusedmethods - improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins Reviewed-by: Noel Grandin --- opencl/inc/opencl_device_selection.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'opencl') diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h index 263b8c006b2f..b6a30fd5b01c 100644 --- a/opencl/inc/opencl_device_selection.h +++ b/opencl/inc/opencl_device_selection.h @@ -640,21 +640,6 @@ cleanup: return DS_SUCCESS; } -inline ds_status getNumDeviceWithEmptyScore(ds_profile* profile, unsigned int* num) -{ - unsigned int i; - if (profile == NULL || num == NULL) return DS_MEMORY_ERROR; - *num = 0; - for (i = 0; i < profile->numDevices; i++) - { - if (profile->devices[i].score == NULL) - { - (*num)++; - } - } - return DS_SUCCESS; -} - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit