His mustache was part of the Tramp's(or "Charlot" as we knew him in French) personnality and charism, just like the glasses was part of Harold Lloyd's character. Another actor from the silent movie era who got a mustache as a character trait was Snub Pollard, who's was less known then Chaplin...