buffer: Slight code cleanup.