mali: removed generated stuff; fixed some warnings

Change-Id: Iea4f366f69ad0600ac10fc80359a04b92d0c66d2