Rename variable Tx_TS_Pending_List to tx_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 e87d2926f47c..0b906d618a90 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -125,7 +125,7 @@ void rtllib_ts_init(struct rtllib_device *ieee) u8 count = 0; INIT_LIST_HEAD(&ieee->tx_ts_admit_list); - INIT_LIST_HEAD(&ieee->Tx_TS_Pending_List); + INIT_LIST_HEAD(&ieee->tx_ts_pending_list); INIT_LIST_HEAD(&ieee->Tx_TS_Unused_List); for (count = 0; count < TOTAL_TS_NUM; count++) { @@ -366,7 +366,7 @@ void remove_peer_ts(struct rtllib_device *ieee, u8 *addr) netdev_info(ieee->dev, "===========>%s, %pM\n", __func__, addr); - list_for_each_entry_safe(ts, pTmpTS, &ieee->Tx_TS_Pending_List, list) { + list_for_each_entry_safe(ts, pTmpTS, &ieee->tx_ts_pending_list, list) { if (memcmp(ts->addr, addr, 6) == 0) { RemoveTsEntry(ieee, ts, TX_DIR); list_del_init(&ts->list); @@ -406,7 +406,7 @@ void remove_all_ts(struct rtllib_device *ieee) { struct ts_common_info *ts, *pTmpTS; - list_for_each_entry_safe(ts, pTmpTS, &ieee->Tx_TS_Pending_List, list) { + list_for_each_entry_safe(ts, pTmpTS, &ieee->tx_ts_pending_list, list) { RemoveTsEntry(ieee, ts, TX_DIR); list_del_init(&ts->list); list_add_tail(&ts->list, &ieee->Tx_TS_Unused_List); diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 3544054b78fc..ff6b59874fed 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1195,7 +1195,7 @@ struct rtllib_device { atomic_t atm_swbw; struct list_head tx_ts_admit_list; - struct list_head Tx_TS_Pending_List; + struct list_head tx_ts_pending_list; struct list_head Tx_TS_Unused_List; struct tx_ts_record tx_ts_records[TOTAL_TS_NUM]; struct list_head Rx_TS_Admit_List; -- 2.30.2