net/hns3: remove redundant return value assignment
authorHongbo Zheng <zhenghongbo3@huawei.com>
Tue, 29 Sep 2020 12:01:17 +0000 (20:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 8 Oct 2020 17:58:10 +0000 (19:58 +0200)
commite855bffa305ecfd9fe50321e84edc577588794e7
tree581e7dbd2e9b0a57daeeb8927ea7d50b8784ace2
parent243651cb6c8ca98ba7790d564f3d50cf9cd6c923
net/hns3: remove redundant return value assignment

When an error occurs in the reset process, -EIO is returned.
The assignment of ret here is redundant, so deleted it.

Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_intr.c