From: Catalina Mocanu Date: Sat, 27 Sep 2014 20:03:16 +0000 (-0700) Subject: staging: rtl8192ee: remove unnecessary return statement X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1cc3cacf10a6a1d430e9ed2cc0fed4a0b52bdf97;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8192ee: remove unnecessary return statement This fixes the following checkpatch.pl warning: WARNING: void function return statements are not generally useful Signed-off-by: Catalina Mocanu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192ee/regd.c b/drivers/staging/rtl8192ee/regd.c index 58b1d9f4717a..b47e4d514571 100644 --- a/drivers/staging/rtl8192ee/regd.c +++ b/drivers/staging/rtl8192ee/regd.c @@ -291,7 +291,6 @@ static void _rtl_reg_apply_world_flags(struct wiphy *wiphy, { _rtl_reg_apply_beaconing_flags(wiphy, initiator); _rtl_reg_apply_active_scan_flags(wiphy, initiator); - return; } static void _rtl_dump_channel_map(struct wiphy *wiphy)