Cleanup GCC compile warnings

Change-Id: I2fa7c4f11d6953aa66eeb8733d67854db7f55a09
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>
Cleanup clang warnings.

Change-Id: I06470673b9be8c047aecd32b3e576b4bd56449aa
Signed-off-by: Steve Kinneberg <stevek@qce.qualcomm.com>