From: Hongbo Zheng Date: Wed, 31 Mar 2021 10:01:43 +0000 (+0800) Subject: net/hns3: delete redundant blank line X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d7e8b721fccc855b1d7a61e1e06d0d6921cf34fd;p=dpdk.git net/hns3: delete redundant blank line Delete redundant blank line in "hns3vf_check_event_cause" to solve the static warning. Fixes: a5475d61fa34 ("net/hns3: support VF") Cc: stable@dpdk.org Signed-off-by: Hongbo Zheng Signed-off-by: Min Hu (Connor) --- diff --git a/drivers/net/hns3/hns3_ethdev_vf.c b/drivers/net/hns3/hns3_ethdev_vf.c index eb47ed320a..5f8a460f35 100644 --- a/drivers/net/hns3/hns3_ethdev_vf.c +++ b/drivers/net/hns3/hns3_ethdev_vf.c @@ -1064,7 +1064,6 @@ hns3vf_check_event_cause(struct hns3_adapter *hns, uint32_t *clearval) /* Fetch the events from their corresponding regs */ cmdq_stat_reg = hns3_read_dev(hw, HNS3_VECTOR0_CMDQ_STAT_REG); - if (BIT(HNS3_VECTOR0_RST_INT_B) & cmdq_stat_reg) { rst_ing_reg = hns3_read_dev(hw, HNS3_FUN_RST_ING); hns3_warn(hw, "resetting reg: 0x%x", rst_ing_reg);