[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210211064325.80591-4-lijunp213@gmail.com>
Date: Thu, 11 Feb 2021 00:43:20 -0600
From: Lijun Pan <lijunp213@...il.com>
To: netdev@...r.kernel.org
Cc: Lijun Pan <lijunp213@...il.com>, Saeed Mahameed <saeedm@...dia.com>
Subject: [PATCH net-next v2 3/8] ibmvnic: fix braces
Fix the following checkpatch warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Lijun Pan <lijunp213@...il.com>
Reviewed-by: Saeed Mahameed <saeedm@...dia.com>
---
drivers/net/ethernet/ibm/ibmvnic.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
index 5c6f6a7b2e3f..6c1fc73d66dc 100644
--- a/drivers/net/ethernet/ibm/ibmvnic.c
+++ b/drivers/net/ethernet/ibm/ibmvnic.c
@@ -2040,9 +2040,8 @@ static int do_reset(struct ibmvnic_adapter *adapter,
}
rc = ibmvnic_login(netdev);
- if (rc) {
+ if (rc)
goto out;
- }
if (adapter->reset_reason == VNIC_RESET_CHANGE_PARAM) {
rc = init_resources(adapter);
--
2.23.0
Powered by blists - more mailing lists