]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Remove the left over redundant check & assignment
authorSalil Mehta <salil.mehta@huawei.com>
Mon, 5 Apr 2021 17:06:44 +0000 (18:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Apr 2021 22:02:41 +0000 (15:02 -0700)
commit9a6aaf61487e6d96ce0bf9b84a784c528dbf6e5e
treeca8cc1d9f661f69fcfd8fc95ff0d8564046086ae
parent630e4576f83accf90366686f39808d665d8dbecc
net: hns3: Remove the left over redundant check & assignment

This removes the left over check and assignment which is no longer used
anywhere in the function and should have been removed as part of the
below mentioned patch.

Fixes: 012fcb52f67c ("net: hns3: activate reset timer when calling reset_event")
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c