aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>2014-09-30 17:21:54 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 14:56:43 -0400
commit66abf01f1dc18068ca2a8677706aedfac386471d (patch)
treeed0aae3fc03be6df45fa0ea1d1744e3f2da6394e
parent4dc5afdeffd16f1c8352aaf81a35562c62865e84 (diff)
staging: rtl8192e: Remove unneeded void return
Fixes "void function return statements are not generally useful"checkpatch.pl warning Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8192e/rtllib_tx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c
index 41bb8c21144c..4f68ffe41475 100644
--- a/drivers/staging/rtl8192e/rtllib_tx.c
+++ b/drivers/staging/rtl8192e/rtllib_tx.c
@@ -354,7 +354,6 @@ FORCED_AGG_SETTING:
354 tcb_desc->ampdu_factor = 0; 354 tcb_desc->ampdu_factor = 0;
355 break; 355 break;
356 } 356 }
357 return;
358} 357}
359 358
360static void rtllib_qurey_ShortPreambleMode(struct rtllib_device *ieee, 359static void rtllib_qurey_ShortPreambleMode(struct rtllib_device *ieee,
@@ -366,7 +365,6 @@ static void rtllib_qurey_ShortPreambleMode(struct rtllib_device *ieee,
366 else if (ieee->current_network.capability & 365 else if (ieee->current_network.capability &
367 WLAN_CAPABILITY_SHORT_PREAMBLE) 366 WLAN_CAPABILITY_SHORT_PREAMBLE)
368 tcb_desc->bUseShortPreamble = true; 367 tcb_desc->bUseShortPreamble = true;
369 return;
370} 368}
371 369
372static void rtllib_query_HTCapShortGI(struct rtllib_device *ieee, 370static void rtllib_query_HTCapShortGI(struct rtllib_device *ieee,
@@ -408,7 +406,6 @@ static void rtllib_query_BandwidthMode(struct rtllib_device *ieee,
408 if (pHTInfo->bCurBW40MHz && pHTInfo->bCurTxBW40MHz && 406 if (pHTInfo->bCurBW40MHz && pHTInfo->bCurTxBW40MHz &&
409 !ieee->bandwidth_auto_switch.bforced_tx20Mhz) 407 !ieee->bandwidth_auto_switch.bforced_tx20Mhz)
410 tcb_desc->bPacketBW = true; 408 tcb_desc->bPacketBW = true;
411 return;
412} 409}
413 410
414static void rtllib_query_protectionmode(struct rtllib_device *ieee, 411static void rtllib_query_protectionmode(struct rtllib_device *ieee,