If you look at the function itself, both USART1 and all remaining USART are handeled correctly already. This code is completely redundant.