usbnet: smsc75xx: Merge memcpy + le32_to_cpus to get_unaligned_le32
authorChuhong Yuan <hslester96@gmail.com>
Fri, 19 Jul 2019 08:27:31 +0000 (16:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jul 2019 19:12:58 +0000 (12:12 -0700)
commit5864118b6a442ac947207489193319489911e7b3
tree324f20e0ca4b2d0d7daa1abab8aede579ea614fa
parentbb448f8a60ea93722edb28418448e0008d148b0c
usbnet: smsc75xx: Merge memcpy + le32_to_cpus to get_unaligned_le32

Merge the combo use of memcpy and le32_to_cpus.
Use get_unaligned_le32 instead.
This simplifies the code.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc75xx.c