diff options
author | Lijun Pan <lijunp213@gmail.com> | 2021-02-11 09:43:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-12 00:03:00 +0300 |
commit | f78afaace636dfa89501be99fc5b431d85a0f639 (patch) | |
tree | 7b505dcdd8f3bbf791f8f2e5b4c31c930a418fbd /drivers | |
parent | bab08bedcdc33a644682197f3c88a6e56c325fcf (diff) | |
download | linux-f78afaace636dfa89501be99fc5b431d85a0f639.tar.xz |
ibmvnic: fix braces
Fix the following checkpatch warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Lijun Pan <lijunp213@gmail.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 3 |
1 files changed, 1 insertions, 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); |