Removed unused UART functions
Remove unused code when linking