]> asedeno.scripts.mit.edu Git - linux.git/commit
r8169: use skb_copy_to_linear_data in rtl8169_try_rx_copy
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 17 Apr 2018 21:19:07 +0000 (23:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 01:11:58 +0000 (21:11 -0400)
commit8a67aa868c7a3e6ef92b4e355abd7a2836573aa9
treee5d557323753fd42469c8c67dff4b9fa99e681c3
parent1cbbf01cfe251447d232ccd6b031252bc5fa4b80
r8169: use skb_copy_to_linear_data in rtl8169_try_rx_copy

Not a giant leap for mankind, but let's avoid the open-coded memcpy
and use standard helper skb_copy_to_linear_data instead.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c