Skip to content

Commit 57e0ff1

Browse files
mistraubegregkh
authored andcommitted
staging: rtl8188eu: cleanup long line in odm.c
Cleanup line over 80 characters by removing unnecessary test 'pDM_Odm->RSSI_Min <= 25'. The above test 'pDM_Odm->RSSI_Min > 25' already guarantees that it is <= 25. Signed-off-by: Michael Straube <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ecc11b4 commit 57e0ff1

File tree

1 file changed

+1
-1
lines changed
  • drivers/staging/rtl8188eu/hal

1 file changed

+1
-1
lines changed

drivers/staging/rtl8188eu/hal/odm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ void odm_CCKPacketDetectionThresh(struct odm_dm_struct *pDM_Odm)
590590
if (pDM_Odm->bLinked) {
591591
if (pDM_Odm->RSSI_Min > 25) {
592592
CurCCK_CCAThres = 0xcd;
593-
} else if ((pDM_Odm->RSSI_Min <= 25) && (pDM_Odm->RSSI_Min > 10)) {
593+
} else if (pDM_Odm->RSSI_Min > 10) {
594594
CurCCK_CCAThres = 0x83;
595595
} else {
596596
if (FalseAlmCnt->Cnt_Cck_fail > 1000)

0 commit comments

Comments
 (0)