]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: mvebu: Remove useless msi_controller pointer allocation
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 4 Sep 2020 14:21:32 +0000 (15:21 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 8 Sep 2020 21:02:20 +0000 (22:02 +0100)
commitc1a49fdab8188cf645d24e93793cedcf523ebebd
tree55f5662e7c30f77aeae1671f5b5dd479578ee7e0
parente5f0bf958198ed018c9fdf06e8d307ced9af9c95
PCI: mvebu: Remove useless msi_controller pointer allocation

The mvebu host controller driver allocates an msi_controller structure
pointer without allocating the structure and initializing its methods,
which makes the pointer useless.

This means that the PCI IRQ MSI layer ignores it and that after all it
should not really be needed.

Remove it.

Link: https://lore.kernel.org/r/20200904142132.6054-1-lorenzo.pieralisi@arm.com
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
drivers/pci/controller/pci-mvebu.c