vold: Clean up warnings

 * Clean up all the dead code and get rid of all warnings

Change-Id: I8101b6314012a39e8e3a9b9b9aa8f4841b4c430d
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_system_vold into temp