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>
This commit is contained in:
Родитель
bab08bedcd
Коммит
f78afaace6
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче