Skip to content

Commit

Permalink
ibmvnic: fix braces
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lijun Pan authored and David S. Miller committed Feb 11, 2021
1 parent bab08be commit f78afaa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/ethernet/ibm/ibmvnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f78afaa

Please sign in to comment.