staging: rtl8192ee: remove unnecessary return statement
authorCatalina Mocanu <catalina.mocanu@gmail.com>
Sat, 27 Sep 2014 20:03:16 +0000 (13:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:35:10 +0000 (22:35 -0400)
This fixes the following checkpatch.pl warning:
WARNING: void function return statements are not generally useful

Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192ee/regd.c

index 58b1d9f4717aaaebdd0c3f3f4a245a2f9415d0b0..b47e4d5145710a5050f5ea4ee46119728d51e192 100644 (file)
@@ -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)