frameworks: derp - remove duplicate code from halo commit

Change-Id: Iddaac57a5f52f6384ec0ac75a95c9bd66db319f2