Remove various bits of dead code and unused workarounds.

Test: treehugger
Change-Id: I68fcd5da304d04ff4da3c3f3712fb79ce6b5791e
1 file changed