gallium: remove flags from the flush function