Skip to content

Commit 4dc5afd

Browse files
melikeyurtoglugregkh
authored andcommitted
staging: rtl8192e: Fix void function return statements style
Fixes "void function return statements are not generally useful"checkpatch.pl warning in rtl819x_HTProc.c Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1263655 commit 4dc5afd

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎drivers/staging/rtl8192e/rtl819x_HTProc.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ void HTDebugHTInfo(u8 *InfoIE, u8 *TitleString)
211211
"[%x]\n", pHTInfoEle->BasicMSC[0], pHTInfoEle->BasicMSC[1],
212212
pHTInfoEle->BasicMSC[2], pHTInfoEle->BasicMSC[3],
213213
pHTInfoEle->BasicMSC[4]);
214-
return;
215214
}
216215

217216
static bool IsHTHalfNmode40Bandwidth(struct rtllib_device *ieee)
@@ -524,7 +523,6 @@ void HTConstructCapabilityElement(struct rtllib_device *ieee, u8 *posHTCap,
524523
pCapELE->MCS[1] = 0;
525524
}
526525
}
527-
return;
528526
}
529527

530528
void HTConstructInfoElement(struct rtllib_device *ieee, u8 *posHTInfo,
@@ -568,7 +566,6 @@ void HTConstructInfoElement(struct rtllib_device *ieee, u8 *posHTInfo,
568566
} else {
569567
*len = 0;
570568
}
571-
return;
572569
}
573570

574571
void HTConstructRT2RTAggElement(struct rtllib_device *ieee, u8 *posRT2RTAgg,
@@ -592,8 +589,6 @@ void HTConstructRT2RTAggElement(struct rtllib_device *ieee, u8 *posRT2RTAgg,
592589
*posRT2RTAgg |= RT_HT_CAP_USE_WOW;
593590

594591
*len = 6 + 2;
595-
596-
return;
597592
}
598593

599594
static u8 HT_PickMCSRate(struct rtllib_device *ieee, u8 *pOperateMCS)
@@ -998,7 +993,6 @@ void HTUseDefaultSetting(struct rtllib_device *ieee)
998993
} else {
999994
pHTInfo->bCurrentHTSupport = false;
1000995
}
1001-
return;
1002996
}
1003997

1004998
u8 HTCCheck(struct rtllib_device *ieee, u8 *pFrame)

0 commit comments

Comments
 (0)