OSDN Git Service

qed: fix indentation issue with statements in an if-block
authorColin Ian King <colin.king@canonical.com>
Tue, 12 Feb 2019 16:01:53 +0000 (16:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 05:03:16 +0000 (21:03 -0800)
There are some statements in an if-block that are not correctly
indented. Fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_cxt.c

index 35c9f48..e61d1d9 100644 (file)
@@ -2135,12 +2135,12 @@ int qed_cxt_set_pf_params(struct qed_hwfn *p_hwfn, u32 rdma_tasks)
                struct qed_eth_pf_params *p_params =
                    &p_hwfn->pf_params.eth_pf_params;
 
-                       if (!p_params->num_vf_cons)
-                               p_params->num_vf_cons =
-                                   ETH_PF_PARAMS_VF_CONS_DEFAULT;
-                       qed_cxt_set_proto_cid_count(p_hwfn, PROTOCOLID_ETH,
-                                                   p_params->num_cons,
-                                                   p_params->num_vf_cons);
+               if (!p_params->num_vf_cons)
+                       p_params->num_vf_cons =
+                           ETH_PF_PARAMS_VF_CONS_DEFAULT;
+               qed_cxt_set_proto_cid_count(p_hwfn, PROTOCOLID_ETH,
+                                           p_params->num_cons,
+                                           p_params->num_vf_cons);
                p_hwfn->p_cxt_mngr->arfs_count = p_params->num_arfs_filters;
                break;
        }