[PATCH 11/14] staging: vt6655: s_uGetDataDuration: Rename bLastFrag variable

Dominik Karol Piątkowski posted 14 patches 2 months, 1 week ago
[PATCH 11/14] staging: vt6655: s_uGetDataDuration: Rename bLastFrag variable
Posted by Dominik Karol Piątkowski 2 months, 1 week ago
This patch renames bLastFrag to last_frag in s_uGetDataDuration function
in order to avoid using camel case.

Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski@protonmail.com>
---
 drivers/staging/vt6655/rxtx.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c
index 58446eba82cc..4b0a768cf77b 100644
--- a/drivers/staging/vt6655/rxtx.c
+++ b/drivers/staging/vt6655/rxtx.c
@@ -241,11 +241,11 @@ s_uGetDataDuration(
 	unsigned char fb_option
 )
 {
-	bool bLastFrag = false;
+	bool last_frag = false;
 	unsigned int uAckTime = 0, uNextPktTime = 0, len;
 
 	if (frag_idx == (mac_frag_num - 1))
-		bLastFrag = true;
+		last_frag = true;
 
 	if (frag_idx == (mac_frag_num - 2))
 		len = last_fragment_size;
@@ -260,7 +260,7 @@ s_uGetDataDuration(
 						     priv->byTopCCKBasicRate);
 		}
 		/* Non Frag or Last Frag */
-		if ((mac_frag_num == 1) || bLastFrag) {
+		if ((mac_frag_num == 1) || last_frag) {
 			if (!need_ack)
 				return 0;
 		} else {
@@ -278,7 +278,7 @@ s_uGetDataDuration(
 						     priv->byTopOFDMBasicRate);
 		}
 		/* Non Frag or Last Frag */
-		if ((mac_frag_num == 1) || bLastFrag) {
+		if ((mac_frag_num == 1) || last_frag) {
 			if (!need_ack)
 				return 0;
 		} else {
@@ -297,7 +297,7 @@ s_uGetDataDuration(
 						     priv->byTopOFDMBasicRate);
 		}
 		/* Non Frag or Last Frag */
-		if ((mac_frag_num == 1) || bLastFrag) {
+		if ((mac_frag_num == 1) || last_frag) {
 			if (!need_ack)
 				return 0;
 		} else {
-- 
2.34.1