net: hns3: Standardize the handle of return value
authorJian Shen <shenjian15@huawei.com>
Thu, 19 Jul 2018 14:46:59 +0000 (15:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jul 2018 15:44:23 +0000 (08:44 -0700)
commit3f639907e02e5a63ef5cca6aa5ddf87e93c40510
treeaa5d9098bf7a050278ff6cee13d34f1cd1802f26
parent646cb51228d497b1c56b1d8ee18bb2b1bd87c93c
net: hns3: Standardize the handle of return value

Apply the standard minor cleanup by returning ret outside
the brackets.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
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