Removing unused clear_disp() function