staging: rtl8192e: use to_delayed_work
Use to_delayed_work() instead of open-coding it. Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
3965ae85db
Коммит
be53a0d53c
|
@ -76,7 +76,7 @@
|
|||
|
||||
#define container_of_work_rsl(x, y, z) container_of(x, y, z)
|
||||
#define container_of_dwork_rsl(x, y, z) \
|
||||
container_of(container_of(x, struct delayed_work, work), y, z)
|
||||
container_of(to_delayed_work(x), y, z)
|
||||
|
||||
#define iwe_stream_add_event_rsl(info, start, stop, iwe, len) \
|
||||
iwe_stream_add_event(info, start, stop, iwe, len)
|
||||
|
|
Загрузка…
Ссылка в новой задаче