mirror of https://github.com/acidanthera/audk.git
Refine the code, remove the useless code.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16112 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e0a1413d6c
commit
122d9317cf
|
@ -370,13 +370,9 @@ BOpt_FindFileSystem (
|
|||
if (FileContext->Info == NULL) {
|
||||
VolumeLabel = L"NO FILE SYSTEM INFO";
|
||||
} else {
|
||||
if (FileContext->Info->VolumeLabel == NULL) {
|
||||
VolumeLabel = L"NULL VOLUME LABEL";
|
||||
} else {
|
||||
VolumeLabel = FileContext->Info->VolumeLabel;
|
||||
if (*VolumeLabel == 0x0000) {
|
||||
VolumeLabel = L"NO VOLUME LABEL";
|
||||
}
|
||||
VolumeLabel = FileContext->Info->VolumeLabel;
|
||||
if (*VolumeLabel == 0x0000) {
|
||||
VolumeLabel = L"NO VOLUME LABEL";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue