[PATCH 0/4] Code cleanup
From: Srishti Sharma
Date: Wed Oct 18 2017 - 15:30:37 EST
This patch series performs code cleanup like using list_for_each_entry_safe
to make code more compact and using list_entry instead of container_of for
struct list_head* variable types.
Srishti Sharma (4):
Staging: rtl8188eu: core: rtw_xmit: Use list_for_each_entry_safe
Staging: rtl8188eu: core: rtw_ap: Use list_for_each_entry_safe
Staging: rtl8188eu: core: rtw_mlme_ext: Use list_for_each_entry_safe
Staging: rtl8188eu: core: Use list_entry instead of container_of
drivers/staging/rtl8188eu/core/rtw_ap.c | 38 ++++++++-------------------
drivers/staging/rtl8188eu/core/rtw_mlme.c | 8 +++---
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 11 ++++----
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 12 ++++-----
drivers/staging/rtl8188eu/core/rtw_xmit.c | 30 +++++++--------------
5 files changed, 36 insertions(+), 63 deletions(-)
--
2.7.4