mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 15:43:59 +08:00
rtlwifi: use to_delayed_work()
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang <geliangtang@163.com> [Update commit message] Signed-off-by: Julian Calaby <julian.calaby@gmail.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
d1162f0283
commit
4679f41322
@ -2870,7 +2870,7 @@ value to host byte ordering.*/
|
||||
(ppsc->cur_ps_level |= _ps_flg)
|
||||
|
||||
#define container_of_dwork_rtl(x, y, z) \
|
||||
container_of(container_of(x, struct delayed_work, work), y, z)
|
||||
container_of(to_delayed_work(x), y, z)
|
||||
|
||||
#define FILL_OCTET_STRING(_os, _octet, _len) \
|
||||
(_os).octet = (u8 *)(_octet); \
|
||||
|
Loading…
Reference in New Issue
Block a user