Fix some compile warnings

1.From GNU compiler extension,Add attribute '__attribute__((unused))' in front of unused parameter to avoid compile warning.

2.By the same way, Add attribute to avoid compile warning.

Test: mmm device/generic/goldfish-opengl.

Change-Id: I06cd5b6fbc2cf6b2387c021b0ceb770a6ba8c568
Signed-off-by: jiayi Li <lijiayi@eswincomputing.com>
2 files changed