remove unused getbaud function