[PATCH] staging: rtl8712: use container_of() instead of LIST_CONTAINOR()

2016-04-04 Thread Geliang Tang
This patch drops the local definition of LIST_CONTAINOR(), and uses container_of() instead of it. Signed-off-by: Geliang Tang --- drivers/staging/rtl8712/osdep_service.h | 3 --- drivers/staging/rtl8712/rtl8712_recv.c| 10 +-

[PATCH] staging: rtl8712: use container_of() instead of LIST_CONTAINOR()

2016-04-04 Thread Geliang Tang
This patch drops the local definition of LIST_CONTAINOR(), and uses container_of() instead of it. Signed-off-by: Geliang Tang --- drivers/staging/rtl8712/osdep_service.h | 3 --- drivers/staging/rtl8712/rtl8712_recv.c| 10 +- drivers/staging/rtl8712/rtl8712_xmit.c