diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-22 10:41:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-23 06:44:14 +0300 |
commit | 7e24b4ed5ac4321e41415b0c6f0f8a8ac14852b2 (patch) | |
tree | d7766a24d4fbfbf1a00922984ad6c1f3ad4bf4cd /drivers/net/ethernet/hisilicon/hip04_eth.c | |
parent | fcd4e60885af969d190999a6c42454c5578d52f1 (diff) | |
download | linux-7e24b4ed5ac4321e41415b0c6f0f8a8ac14852b2.tar.xz |
net: usb: Merge cpu_to_le32s + memcpy to put_unaligned_le32
Merge the combo uses of cpu_to_le32s and memcpy.
Use put_unaligned_le32 instead.
This simplifies the code.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hip04_eth.c')
0 files changed, 0 insertions, 0 deletions