Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66abf01f authored by Melike Yurtoglu's avatar Melike Yurtoglu Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192e: Remove unneeded void return



Fixes "void function return statements are not generally
useful"checkpatch.pl warning

Signed-off-by: default avatarMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4dc5afde
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -354,7 +354,6 @@ static void rtllib_tx_query_agg_cap(struct rtllib_device *ieee,
		tcb_desc->ampdu_factor = 0;
		break;
	}
	return;
}

static void rtllib_qurey_ShortPreambleMode(struct rtllib_device *ieee,
@@ -366,7 +365,6 @@ static void rtllib_qurey_ShortPreambleMode(struct rtllib_device *ieee,
	else if (ieee->current_network.capability &
		 WLAN_CAPABILITY_SHORT_PREAMBLE)
		tcb_desc->bUseShortPreamble = true;
	return;
}

static void rtllib_query_HTCapShortGI(struct rtllib_device *ieee,
@@ -408,7 +406,6 @@ static void rtllib_query_BandwidthMode(struct rtllib_device *ieee,
	if (pHTInfo->bCurBW40MHz && pHTInfo->bCurTxBW40MHz &&
	    !ieee->bandwidth_auto_switch.bforced_tx20Mhz)
		tcb_desc->bPacketBW = true;
	return;
}

static void rtllib_query_protectionmode(struct rtllib_device *ieee,