diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-07-22 22:01:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-23 03:28:12 +0200 |
commit | fcd4e60885af969d190999a6c42454c5578d52f1 (patch) | |
tree | 5c1d8c332a3e8dda1f071dbaf4e0dd00e2b79917 /drivers/crypto/chelsio | |
parent | ax88179_178a: Merge memcpy + le32_to_cpus to get_unaligned_le32 (diff) | |
download | linux-fcd4e60885af969d190999a6c42454c5578d52f1.tar.xz linux-fcd4e60885af969d190999a6c42454c5578d52f1.zip |
r8169: improve rtl_rx
This patch improves few aspects of rtl_rx, no functional change intended.
1. inline rtl8169_try_rx_copy
2. make pkt_size unsigned
3. use constant ETH_FCS_LEN instead of value 4
4. We just created the skb, so we don't need the checks in skb_put.
Also we don't need the return value of skb_put.
Set skb->tail and skb->len directly.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/crypto/chelsio')
0 files changed, 0 insertions, 0 deletions