staging: rtl8192e: Fix void function return statements style
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Tue, 30 Sep 2014 19:08:18 +0000 (22:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 18:56:43 +0000 (11:56 -0700)
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>
drivers/staging/rtl8192e/rtl819x_HTProc.c

index f11c1a22fb8d05c2b8de1f335dd469e9429ddb64..c7f45080061f06cfdc9fb2c8553ae1b5fd82f1dd 100644 (file)
@@ -211,7 +211,6 @@ void HTDebugHTInfo(u8 *InfoIE, u8 *TitleString)
                     "[%x]\n", pHTInfoEle->BasicMSC[0], pHTInfoEle->BasicMSC[1],
                     pHTInfoEle->BasicMSC[2], pHTInfoEle->BasicMSC[3],
                     pHTInfoEle->BasicMSC[4]);
-       return;
 }
 
 static bool IsHTHalfNmode40Bandwidth(struct rtllib_device *ieee)
@@ -524,7 +523,6 @@ void HTConstructCapabilityElement(struct rtllib_device *ieee, u8 *posHTCap,
                        pCapELE->MCS[1] = 0;
                }
        }
-       return;
 }
 
 void HTConstructInfoElement(struct rtllib_device *ieee, u8 *posHTInfo,
@@ -568,7 +566,6 @@ void HTConstructInfoElement(struct rtllib_device *ieee, u8 *posHTInfo,
        } else {
                *len = 0;
        }
-       return;
 }
 
 void HTConstructRT2RTAggElement(struct rtllib_device *ieee, u8 *posRT2RTAgg,
@@ -592,8 +589,6 @@ void HTConstructRT2RTAggElement(struct rtllib_device *ieee, u8 *posRT2RTAgg,
                *posRT2RTAgg |= RT_HT_CAP_USE_WOW;
 
        *len = 6 + 2;
-
-       return;
 }
 
 static u8 HT_PickMCSRate(struct rtllib_device *ieee, u8 *pOperateMCS)
@@ -998,7 +993,6 @@ void HTUseDefaultSetting(struct rtllib_device *ieee)
        } else {
                pHTInfo->bCurrentHTSupport = false;
        }
-       return;
 }
 
 u8 HTCCheck(struct rtllib_device *ieee, u8 *pFrame)