How to remove unused FreeRTOS Functions from Executable

I made the trick with the #if 0, The xTimerGenericCommand is using the xQueueGenericSend().