diff options
author | Yan-Hsuan Chuang <yhchuang@realtek.com> | 2020-03-12 16:08:49 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-03-23 19:29:34 +0200 |
commit | da14a0409e3f0df6497516705608a023de400794 (patch) | |
tree | 6cc36fd45310d1e2bfe9534e45ac40ed046385de /drivers/rtc | |
parent | 57fb39e247754b60401358b1f4be78ab6f5ef9f4 (diff) | |
download | lwn-da14a0409e3f0df6497516705608a023de400794.tar.gz lwn-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/rtc')
0 files changed, 0 insertions, 0 deletions