diff options
author | Olivier Martin <olivier.martin@arm.com> | 2014-01-13 18:52:12 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-01-13 18:52:12 +0000 |
commit | 8da53ddd3b8a7e670fb1bdabe134f0ce7fc451a3 (patch) | |
tree | 7e1e103927c7514d28e778a35785b49685220872 /ShellPkg | |
parent | 8844288c4e0c67cf7e765a92aafe62f76e3e86b1 (diff) | |
download | edk2-platforms-8da53ddd3b8a7e670fb1bdabe134f0ce7fc451a3.tar.xz |
ShellPkg: remove unreachable break statements
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15108 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c index 6c333ca2f9..d07ae1721d 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Pci.c @@ -5274,66 +5274,48 @@ PrintPciExtendedCapabilityDetails( switch (HeaderAddress->CapabilityId){
case PCI_EXPRESS_EXTENDED_CAPABILITY_ADVANCED_ERROR_REPORTING_ID:
return PrintInterpretedExtendedCompatibilityAer(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_LINK_CONTROL_ID:
return PrintInterpretedExtendedCompatibilityLinkControl(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_LINK_DECLARATION_ID:
return PrintInterpretedExtendedCompatibilityLinkDeclaration(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_SERIAL_NUMBER_ID:
return PrintInterpretedExtendedCompatibilitySerialNumber(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_POWER_BUDGETING_ID:
return PrintInterpretedExtendedCompatibilityPowerBudgeting(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_ACS_EXTENDED_ID:
return PrintInterpretedExtendedCompatibilityAcs(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_LATENCE_TOLERANCE_REPORTING_ID:
return PrintInterpretedExtendedCompatibilityLatencyToleranceReporting(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_ARI_CAPABILITY_ID:
return PrintInterpretedExtendedCompatibilityAri(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_RCRB_HEADER_ID:
return PrintInterpretedExtendedCompatibilityRcrb(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_VENDOR_SPECIFIC_ID:
return PrintInterpretedExtendedCompatibilityVendorSpecific(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_DYNAMIC_POWER_ALLOCATION_ID:
return PrintInterpretedExtendedCompatibilityDynamicPowerAllocation(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_ID:
return PrintInterpretedExtendedCompatibilityECEA(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_VIRTUAL_CHANNEL_ID:
case PCI_EXPRESS_EXTENDED_CAPABILITY_MULTI_FUNCTION_VIRTUAL_CHANNEL_ID:
return PrintInterpretedExtendedCompatibilityVirtualChannel(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_MULTICAST_ID:
//
// should only be present if PCIE_CAP_DEVICEPORT_TYPE(PciExpressCapPtr->PcieCapReg) == 0100b, 0101b, or 0110b
//
return PrintInterpretedExtendedCompatibilityMulticast(HeaderAddress, HeadersBaseAddress, PciExpressCapPtr);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_RESIZABLE_BAR_ID:
return PrintInterpretedExtendedCompatibilityResizeableBar(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_TPH_ID:
return PrintInterpretedExtendedCompatibilityTph(HeaderAddress, HeadersBaseAddress);
- break;
case PCI_EXPRESS_EXTENDED_CAPABILITY_SECONDARY_PCIE_ID:
return PrintInterpretedExtendedCompatibilitySecondary(HeaderAddress, HeadersBaseAddress, PciExpressCapPtr);
- break;
default:
ShellPrintEx (-1, -1,
L"Unknown PCIe extended capability ID (%04xh). No interpretation available.\r\n",
HeaderAddress->CapabilityId
);
return EFI_SUCCESS;
- break;
};
}
|