Fix a bunch of warnings
Ethan Yonker authored
Mostly adding __unused where needed.

Change-Id: Ia4f675b9b360782728c361ed1699db0cc277c3a5
d0514ba8

Team Win Recovery Project (TWRP)

You can find a compiling guide here.