Remove unused buffer allocation functions Removed unused buffer allocation functions. Change-Id: Ib779dde9ad6a511d88b7f7cba2604902eff7aa05