Revert "fix Linaro compiler warnings/error issues"
causing build errors
This reverts commit 3c9c011daba750bd1d1498b5603d10d3288105fe.