]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: addi-data: remove unused parameters from i_pci_card_data()
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 31 Oct 2012 23:55:21 +0000 (16:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Nov 2012 15:43:23 +0000 (08:43 -0700)
commit1dc2ed52a8ccb7b9245d16d276b7d540e9a5a67e
treee50bb250a96126ada8734bd2a6e087cfa6118783
parent414fa5fa04da0117e74fa3642ac70a59bd52c030
staging: comedi: addi-data: remove unused parameters from i_pci_card_data()

The pci_bus, pci_slot, and pci_func data returned by i_pci_card_data()
are not used. Remove them from the parameters to the function and also
remove the local variables in i_ADDI_Attach() that held the returned
data.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/addi_amcc_s5933.h
drivers/staging/comedi/drivers/addi-data/addi_common.c