Remove an unused function for byte order swapping