Rename variable Rx_TS_Pending_List to rx_ts_pending_list to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@xxxxxxxxxxxxxxx> --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 +++--- drivers/staging/rtl8192e/rtllib.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 89092cd434de..efadb2b778b1 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -144,7 +144,7 @@ void rtllib_ts_init(struct rtllib_device *ieee) } INIT_LIST_HEAD(&ieee->Rx_TS_Admit_List); - INIT_LIST_HEAD(&ieee->Rx_TS_Pending_List); + INIT_LIST_HEAD(&ieee->rx_ts_pending_list); INIT_LIST_HEAD(&ieee->Rx_TS_Unused_List); for (count = 0; count < TOTAL_TS_NUM; count++) { rxts->num = count; @@ -384,7 +384,7 @@ void remove_peer_ts(struct rtllib_device *ieee, u8 *addr) } } - list_for_each_entry_safe(ts, pTmpTS, &ieee->Rx_TS_Pending_List, list) { + list_for_each_entry_safe(ts, pTmpTS, &ieee->rx_ts_pending_list, list) { if (memcmp(ts->addr, addr, 6) == 0) { RemoveTsEntry(ieee, ts, RX_DIR); list_del_init(&ts->list); @@ -418,7 +418,7 @@ void remove_all_ts(struct rtllib_device *ieee) list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List); } - list_for_each_entry_safe(ts, pTmpTS, &ieee->Rx_TS_Pending_List, list) { + list_for_each_entry_safe(ts, pTmpTS, &ieee->rx_ts_pending_list, list) { RemoveTsEntry(ieee, ts, RX_DIR); list_del_init(&ts->list); list_add_tail(&ts->list, &ieee->Rx_TS_Unused_List); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index b0f01d940efa..c43d5b8298f1 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1199,7 +1199,7 @@ struct rtllib_device { struct list_head Tx_TS_Unused_List; struct tx_ts_record tx_ts_records[TOTAL_TS_NUM]; struct list_head Rx_TS_Admit_List; - struct list_head Rx_TS_Pending_List; + struct list_head rx_ts_pending_list; struct list_head Rx_TS_Unused_List; struct rx_ts_record rx_ts_records[TOTAL_TS_NUM]; struct rx_reorder_entry RxReorderEntry[128]; -- 2.30.2