"To trim the fat" means to remove unnecessary or excessive things, whether it be physical, like removing extra parts of food or objects, or metaphorical, like getting rid of unnecessary tasks or expenses to make something more efficient and effective.
Full definition