diff options
author | 2020-03-30 01:53:39 +0200 | |
---|---|---|
committer | 2020-03-30 11:50:20 -0700 | |
commit | b8447abc4c8fb2abaa268f8e193c43e0bec2ef11 (patch) | |
tree | f4c66316ca83a33f0a24254184f98a6b46bd9d09 /net/unix/af_unix.c | |
parent | Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next (diff) | |
download | wireguard-linux-b8447abc4c8fb2abaa268f8e193c43e0bec2ef11.tar.xz wireguard-linux-b8447abc4c8fb2abaa268f8e193c43e0bec2ef11.zip |
r8169: factor out rtl8169_tx_map
Factor out mapping the tx skb to a new function rtl8169_tx_map(). This
allows to remove redundancies, and rtl8169_get_txd_opts1() has only
one user left, so it can be inlined.
As a result rtl8169_xmit_frags() is significantly simplified, and in
rtl8169_start_xmit() the code is simplified and better readable.
No functional change intended.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions