diff options
| author | Tree Davies <tdavies@darkphysics.net> | 2023-10-03 06:18:47 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-05 10:59:27 +0300 |
| commit | a1471d8830da55dfe301ecc915449b611fad46c2 (patch) | |
| tree | ec67f6fbe9485e2f6e7ad95cfec3464c3970c7b8 | |
| parent | c61d7510ea0ba9ae173b70acc0cd320fcb080fea (diff) | |
| download | linux-a1471d8830da55dfe301ecc915449b611fad46c2.tar.xz | |
Staging: rtl8192e: Rename variable pTSInfo
Rename variable pTSInfo to ts_info to fix checkpatch warning Avoid
CamelCase.
Signed-off-by: Tree Davies <tdavies@darkphysics.net>
Link: https://lore.kernel.org/r/20231003031849.176743-2-tdavies@darkphysics.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/rtl8192e/rtl819x_TSProc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index a482acd5ee06..eaa2a82558f1 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -242,7 +242,7 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, { u8 UP = 0; union tspec_body TSpec; - union qos_tsinfo *pTSInfo = &TSpec.f.TSInfo; + union qos_tsinfo *ts_info = &TSpec.f.TSInfo; struct list_head *pUnusedList; struct list_head *pAddmitList; enum direction_value Dir; @@ -318,15 +318,15 @@ bool rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, netdev_dbg(ieee->dev, "to init current TS, UP:%d, Dir:%d, addr: %pM ppTs=%p\n", UP, Dir, addr, *ppTS); - pTSInfo->field.ucTrafficType = 0; - pTSInfo->field.ucTSID = UP; - pTSInfo->field.ucDirection = Dir; - pTSInfo->field.ucAccessPolicy = 1; - pTSInfo->field.ucAggregation = 0; - pTSInfo->field.ucPSB = 0; - pTSInfo->field.ucUP = UP; - pTSInfo->field.ucTSInfoAckPolicy = 0; - pTSInfo->field.ucSchedule = 0; + ts_info->field.ucTrafficType = 0; + ts_info->field.ucTSID = UP; + ts_info->field.ucDirection = Dir; + ts_info->field.ucAccessPolicy = 1; + ts_info->field.ucAggregation = 0; + ts_info->field.ucPSB = 0; + ts_info->field.ucUP = UP; + ts_info->field.ucTSInfoAckPolicy = 0; + ts_info->field.ucSchedule = 0; MakeTSEntry(*ppTS, addr, &TSpec, NULL, 0, 0); list_add_tail(&((*ppTS)->List), pAddmitList); |
