NetworkPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the NetworkPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
2f88bd3a12
commit
d1050b9dff
@@ -8,12 +8,11 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
#include "IScsiImpl.h"
|
||||
|
||||
EFI_ISCSI_INITIATOR_NAME_PROTOCOL gIScsiInitiatorName = {
|
||||
EFI_ISCSI_INITIATOR_NAME_PROTOCOL gIScsiInitiatorName = {
|
||||
IScsiGetInitiatorName,
|
||||
IScsiSetInitiatorName
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
Retrieves the current set value of iSCSI Initiator Name.
|
||||
|
||||
@@ -64,7 +63,6 @@ IScsiGetInitiatorName (
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Sets the iSSI Initiator Name.
|
||||
|
||||
@@ -110,10 +108,11 @@ IScsiSetInitiatorName (
|
||||
*BufferSize = ISCSI_NAME_MAX_SIZE;
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
//
|
||||
// Only support iqn iSCSI names.
|
||||
//
|
||||
Status = IScsiNormalizeName ((CHAR8 *) Buffer, *BufferSize - 1);
|
||||
Status = IScsiNormalizeName ((CHAR8 *)Buffer, *BufferSize - 1);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user