Fix linaro compiler errors (unused-parameter)