net/hns3: delete redundant blank line
Delete redundant blank line in "hns3vf_check_event_cause" to
solve the static warning.
Fixes: a5475d61fa
("net/hns3: support VF")
Cc: stable@dpdk.org
Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
This commit is contained in:
parent
214917f66b
commit
d7e8b721fc
@ -1064,7 +1064,6 @@ hns3vf_check_event_cause(struct hns3_adapter *hns, uint32_t *clearval)
|
|||||||
|
|
||||||
/* Fetch the events from their corresponding regs */
|
/* Fetch the events from their corresponding regs */
|
||||||
cmdq_stat_reg = hns3_read_dev(hw, HNS3_VECTOR0_CMDQ_STAT_REG);
|
cmdq_stat_reg = hns3_read_dev(hw, HNS3_VECTOR0_CMDQ_STAT_REG);
|
||||||
|
|
||||||
if (BIT(HNS3_VECTOR0_RST_INT_B) & cmdq_stat_reg) {
|
if (BIT(HNS3_VECTOR0_RST_INT_B) & cmdq_stat_reg) {
|
||||||
rst_ing_reg = hns3_read_dev(hw, HNS3_FUN_RST_ING);
|
rst_ing_reg = hns3_read_dev(hw, HNS3_FUN_RST_ING);
|
||||||
hns3_warn(hw, "resetting reg: 0x%x", rst_ing_reg);
|
hns3_warn(hw, "resetting reg: 0x%x", rst_ing_reg);
|
||||||
|
Loading…
Reference in New Issue
Block a user