From: Dominik Karol PiÄ…tkowski Date: Wed, 18 Sep 2024 19:21:44 +0000 (+0000) Subject: staging: vt6655: s_uGetDataDuration: Rename bLastFrag variable X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=90005d8525fde88b5725319071ebe0a8ee345273;p=users%2Fjedix%2Flinux-maple.git staging: vt6655: s_uGetDataDuration: Rename bLastFrag variable 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 Link: https://lore.kernel.org/r/20240918191959.51539-12-dominik.karol.piatkowski@protonmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/rxtx.c b/drivers/staging/vt6655/rxtx.c index 86bea23a6e9db..60f255e9f4c8e 100644 --- a/drivers/staging/vt6655/rxtx.c +++ b/drivers/staging/vt6655/rxtx.c @@ -250,11 +250,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; @@ -269,7 +269,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 { @@ -287,7 +287,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 { @@ -306,7 +306,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 {