diff options
author | Nico Huber <nico.h@gmx.de> | 2020-02-17 18:26:51 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-02-19 12:08:53 +0000 |
commit | e549503967aab3aabe68f686f75ca316b6bd8bf6 (patch) | |
tree | e224d60ea50bd79b1c695193b164b98e0e5ae27c /Documentation | |
parent | 172ef5fe6182ade5fefed0e4f9e76c59fc89667d (diff) | |
download | coreboot-e549503967aab3aabe68f686f75ca316b6bd8bf6.tar.xz |
soc/intel/p2sb: Drop unnecessary P2SB_GET_DEV
PCH_DEV_P2SB already covers both __SIMPLE_DEVICE__ cases. The values are
only used for PCI-config access functions, which also check for NULL
when necessary.
The PCI_DEV_INVALID case can't occur by definition, and if we wanted to
check, we could do so at compile time using _Static_assert().
Change-Id: I400fc20133809aaa0fd0519531a62ec9b8812ef1
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38946
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions