Commit 0db6624a authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: mite: remove mite_struct member 'mite_phys_addr'

This member of mite_struct is set but never used. Just remove it.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0d9bfc24
...@@ -106,7 +106,6 @@ int mite_setup2(struct comedi_device *dev, ...@@ -106,7 +106,6 @@ int mite_setup2(struct comedi_device *dev,
"Failed to remap mite io memory address\n"); "Failed to remap mite io memory address\n");
return -ENOMEM; return -ENOMEM;
} }
mite->mite_phys_addr = pci_resource_start(mite->pcidev, 0);
dev->mmio = pci_ioremap_bar(mite->pcidev, 1); dev->mmio = pci_ioremap_bar(mite->pcidev, 1);
if (!dev->mmio) { if (!dev->mmio) {
......
...@@ -54,7 +54,6 @@ struct mite_channel { ...@@ -54,7 +54,6 @@ struct mite_channel {
struct mite_struct { struct mite_struct {
struct pci_dev *pcidev; struct pci_dev *pcidev;
resource_size_t mite_phys_addr;
void __iomem *mite_io_addr; void __iomem *mite_io_addr;
resource_size_t daq_phys_addr; resource_size_t daq_phys_addr;
struct mite_channel channels[MAX_MITE_DMA_CHANNELS]; struct mite_channel channels[MAX_MITE_DMA_CHANNELS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment