Remove some redundant blank lines.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
         * Rl defines rate of interrupts i.e. number of interrupts-per-second
         * GL and RL(Rate Limiter) are 2 ways to acheive interrupt coalescing
         */
-
        if (rl_reg > 0 && !tqp_vector->tx_group.coal.adapt_enable &&
            !tqp_vector->rx_group.coal.adapt_enable)
                /* According to the hardware, the range of rl_reg is
                        hns3_set_field(*ol_type_vlan_len_msec,
                                       HNS3_TXD_OL3T_S,
                                       HNS3_OL3T_IPV4_NO_CSUM);
-
        } else if (skb->protocol == htons(ETH_P_IPV6)) {
                hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_OL3T_S,
                               HNS3_OL3T_IPV6);
                return HNS3_MAX_TSO_BD_NUM + 1U;
 
        bd_num = hns3_skb_bd_num(skb, bd_size, bd_num);
-
        if (!skb_has_frag_list(skb) || bd_num > HNS3_MAX_TSO_BD_NUM)
                return bd_num;
 
                                          HNS3_RXD_L3ID_S);
                l4_type = hnae3_get_field(l234info, HNS3_RXD_L4ID_M,
                                          HNS3_RXD_L4ID_S);
-
                /* Can checksum ipv4 or ipv6 + UDP/TCP/SCTP packets */
                if ((l3_type == HNS3_L3_TYPE_IPV4 ||
                     l3_type == HNS3_L3_TYPE_IPV6) &&
 
        if (!skb) {
                bd_base_info = le32_to_cpu(desc->rx.bd_base_info);
-
                /* Check valid BD */
                if (unlikely(!(bd_base_info & BIT(HNS3_RXD_VLD_B))))
                        return -ENXIO;
        hns3_for_each_ring(ring, tqp_vector->rx_group) {
                int rx_cleaned = hns3_clean_rx_ring(ring, rx_budget,
                                                    hns3_rx_skb);
-
                if (rx_cleaned >= rx_budget)
                        clean_complete = false;
 
                               hns3_buf_size2type(ring->buf_size));
                hns3_write_dev(q, HNS3_RING_RX_RING_BD_NUM_REG,
                               ring->desc_num / 8 - 1);
-
        } else {
                hns3_write_dev(q, HNS3_RING_TX_RING_BASEADDR_L_REG,
                               (u32)dma);
 
        u32 caps;
 
        caps = __le32_to_cpu(cmd->caps[0]);
-
        if (hnae3_get_bit(caps, HCLGE_CAP_UDP_GSO_B))
                set_bit(HNAE3_DEV_SUPPORT_UDP_GSO_B, ae_dev->caps);
        if (hnae3_get_bit(caps, HCLGE_CAP_PTP_B))
 
        }
 
        status = le32_to_cpu(desc[0].data[0]);
-
        if (status & HCLGE_ROCEE_AXI_ERR_INT_MASK) {
                if (status & HCLGE_ROCEE_RERR_INT_MASK)
                        dev_err(dev, "ROCEE RAS AXI rresp error\n");
        }
 
        status = hclge_read_dev(&hdev->hw, HCLGE_RAS_PF_OTHER_INT_STS_REG);
-
        if (status & HCLGE_RAS_REG_NFE_MASK ||
            status & HCLGE_RAS_REG_ROCEE_ERR_MASK)
                ae_dev->hw_err_reset_req = 0;
 
        int ret;
 
        ret = hclge_mac_query_reg_num(hdev, &desc_num);
-
        /* The firmware supports the new statistics acquisition method */
        if (!ret)
                ret = hclge_mac_update_stats_complete(hdev, desc_num);
                        count += 1;
                        handle->flags |= HNAE3_SUPPORT_PHY_LOOPBACK;
                }
-
        } else if (stringset == ETH_SS_STATS) {
                count = ARRAY_SIZE(g_mac_stats_string) +
                        hclge_tqps_get_sset_count(handle, stringset);
                        COMPENSATE_HALF_MPS_NUM * half_mps;
        min_rx_priv = round_up(min_rx_priv, HCLGE_BUF_SIZE_UNIT);
        rx_priv = round_down(rx_priv, HCLGE_BUF_SIZE_UNIT);
-
        if (rx_priv < min_rx_priv)
                return false;
 
        if (status)
                return status;
        status = hclge_add_mac_vlan_tbl(vport, &req, desc);
-
        /* if already overflow, not to print each time */
        if (status == -ENOSPC &&
            !(vport->overflow_promisc_flags & HNAE3_OVERFLOW_MPE))
                else
                        /* Not all the vfid is zero, update the vfid */
                        status = hclge_add_mac_vlan_tbl(vport, &req, desc);
-
        } else if (status == -ENOENT) {
                status = 0;
        }
 
        u32 caps;
 
        caps = __le32_to_cpu(cmd->caps[0]);
-
        if (hnae3_get_bit(caps, HCLGEVF_CAP_UDP_GSO_B))
                set_bit(HNAE3_DEV_SUPPORT_UDP_GSO_B, ae_dev->caps);
        if (hnae3_get_bit(caps, HCLGEVF_CAP_INT_QL_B))
 
 
        link_state =
                test_bit(HCLGEVF_STATE_DOWN, &hdev->state) ? 0 : link_state;
-
        if (link_state != hdev->hw.mac.link) {
                client->ops->link_status_change(handle, !!link_state);
                if (rclient && rclient->ops->link_status_change)
        /* fetch the events from their corresponding regs */
        cmdq_stat_reg = hclgevf_read_dev(&hdev->hw,
                                         HCLGEVF_VECTOR0_CMDQ_STATE_REG);
-
        if (BIT(HCLGEVF_VECTOR0_RST_INT_B) & cmdq_stat_reg) {
                rst_ing_reg = hclgevf_read_dev(&hdev->hw, HCLGEVF_RST_ING);
                dev_info(&hdev->pdev->dev,