]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pci: Remove unused parameter from add_one_dev_pci_data()
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 29 Aug 2017 07:33:59 +0000 (17:33 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:26:07 +0000 (14:26 +1000)
commitfa269bebfc7747f17b6b97f8d305b28704975e61
tree0ad50f7147c3748f35d695178029c382494bb181
parent881c52148a0732674933b70c1b1ed073e1b754fa
powerpc/pci: Remove unused parameter from add_one_dev_pci_data()

pdev is always NULL, remove it.

To make checkpatch.pl happy, this also removes the "out of memory"
message.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/pci_dn.c