]> git.karo-electronics.de Git - linux-beck.git/commitdiff
be2net: remove return statements for void functions
authorKalesh AP <kalesh.purayil@emulex.com>
Fri, 19 Sep 2014 10:16:55 +0000 (15:46 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Sep 2014 19:01:08 +0000 (15:01 -0400)
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_ethtool.c
drivers/net/ethernet/emulex/benet/be_main.c

index ec66f64bd045c2d0c8d80a74de0c9a0bfa02a2bf..32c61f3e3be10f4e28dc940861bb054edbd7f109 100644 (file)
@@ -975,8 +975,6 @@ static void be_set_msg_level(struct net_device *netdev, u32 level)
                                                FW_LOG_LEVEL_DEFAULT :
                                                FW_LOG_LEVEL_FATAL);
        adapter->msg_enable = level;
-
-       return;
 }
 
 static u64 be_get_rss_hash_opts(struct be_adapter *adapter, u64 flow_type)
index beebab60b6c45e826c1112132e551c5bca3d427c..96be231a75dfd716d2b0e8511100c3dc723c221c 100644 (file)
@@ -3716,8 +3716,6 @@ static void be_netpoll(struct net_device *netdev)
                be_eq_notify(eqo->adapter, eqo->q.id, false, true, 0);
                napi_schedule(&eqo->napi);
        }
-
-       return;
 }
 #endif
 
@@ -4395,7 +4393,6 @@ static void be_add_vxlan_port(struct net_device *netdev, sa_family_t sa_family,
        return;
 err:
        be_disable_vxlan_offloads(adapter);
-       return;
 }
 
 static void be_del_vxlan_port(struct net_device *netdev, sa_family_t sa_family,