coff: minor code cleanup