ax88179_178a: Merge memcpy + le32_to_cpus to get_unaligned_le32
authorChuhong Yuan <hslester96@gmail.com>
Fri, 19 Jul 2019 09:07:15 +0000 (17:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jul 2019 19:12:58 +0000 (12:12 -0700)
commitd1854d509d61d36af44f2130423bff8836e1592e
tree0464d3e8f6baa0a39939b2170cf32eac098970ed
parent5864118b6a442ac947207489193319489911e7b3
ax88179_178a: 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/ax88179_178a.c