diff options
author | Yan-Hsuan Chuang <yhchuang@realtek.com> | 2020-03-12 09:08:49 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-03-23 18:29:34 +0100 |
commit | da14a0409e3f0df6497516705608a023de400794 (patch) | |
tree | 6cc36fd45310d1e2bfe9534e45ac40ed046385de /drivers/net/wireless/realtek/rtw88/main.h | |
parent | rtw88: don't hold all IRQs disabled for PS operations (diff) | |
download | linux-da14a0409e3f0df6497516705608a023de400794.tar.xz linux-da14a0409e3f0df6497516705608a023de400794.zip |
rtw88: extract alloc rsvd_page and h2c skb routines
Extract skb allocation routines for rsvd_page and h2c.
These routines should also be used by USB and SDIO.
This should not change the logic at all.
memset() for pkt_info is unnecessary, just declare as {0}.
Also skb_put()/memcpy() can be replaced by skb_put_data().
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200312080852.16684-3-yhchuang@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw88/main.h')
0 files changed, 0 insertions, 0 deletions