be2net: remove unnecessary blank lines after an open brace
authorKalesh AP <kalesh.purayil@emulex.com>
Fri, 19 Sep 2014 10:16:59 +0000 (15:46 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Sep 2014 19:01:08 +0000 (15:01 -0400)
This patch fixes checkpatch warnings about blank lines after an open brace '{'.

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_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c

index bc47d17bd1344e4f539a9a121b9f661a6073deed..9ec09a8e7b00b2c5a689f5c97badb36034a035c8 100644 (file)
@@ -209,7 +209,6 @@ static int be_mcc_compl_process(struct be_adapter *adapter,
 
        if (base_status != MCC_STATUS_SUCCESS &&
            !be_skip_err_log(opcode, base_status, addl_status)) {
-
                if (base_status == MCC_STATUS_UNAUTHORIZED_REQUEST) {
                        dev_warn(&adapter->pdev->dev,
                                 "VF is not privileged to issue opcode %d-%d\n",
@@ -1522,7 +1521,6 @@ err:
 int lancer_cmd_get_pport_stats(struct be_adapter *adapter,
                               struct be_dma_mem *nonemb_cmd)
 {
-
        struct be_mcc_wrb *wrb;
        struct lancer_cmd_req_pport_stats *req;
        int status = 0;
@@ -3038,7 +3036,6 @@ out:
 int be_cmd_get_active_mac(struct be_adapter *adapter, u32 curr_pmac_id,
                          u8 *mac, u32 if_handle, bool active, u32 domain)
 {
-
        if (!active)
                be_cmd_get_mac_from_list(adapter, mac, &active, &curr_pmac_id,
                                         if_handle, domain);
index 31b5fdc589f9eb0a9fcc4df98521036349562fa8..7e80527fc10dffab82da9a3145138cb3915c2d86 100644 (file)
@@ -493,7 +493,6 @@ static void populate_be_v2_stats(struct be_adapter *adapter)
 
 static void populate_lancer_stats(struct be_adapter *adapter)
 {
-
        struct be_drv_stats *drvs = &adapter->drv_stats;
        struct lancer_pport_stats *pport_stats = pport_stats_from_cmd(adapter);
 
@@ -4741,7 +4740,6 @@ static void be_func_recovery_task(struct work_struct *work)
        be_detect_error(adapter);
 
        if (adapter->hw_error && lancer_chip(adapter)) {
-
                rtnl_lock();
                netif_device_detach(adapter->netdev);
                rtnl_unlock();