PCI: xilinx-nwl: Remove redundant code that sets Type 1 header fields
authorThippeswamy Havalige <thippeswamy.havalige@amd.com>
Mon, 16 Oct 2023 05:10:59 +0000 (10:40 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Thu, 26 Oct 2023 11:54:54 +0000 (11:54 +0000)
commita2492ff1fcb94ee823d38a3965138e6ab33a4f80
tree6ee7bfebc976a5049ba443623b29015f0b4e152f
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
PCI: xilinx-nwl: Remove redundant code that sets Type 1 header fields

The PCI core already updates the primary, secondary and subordinate bus
number registers fields of the Type 1 header.

Thus, remove the redundant code from the nwl_pcie_bridge_init().

[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/20231016051102.1180432-2-thippeswamy.havalige@amd.com
Signed-off-by: Thippeswamy Havalige <thippeswamy.havalige@amd.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/controller/pcie-xilinx-nwl.c