Remove unused function read_width