Skip to content

Commit

Permalink
[PATCH] ppc64 iSeries: remove iSeries_pci_reset.c
Browse files Browse the repository at this point in the history
The file arch/ppc64/kernel/iSeries_pci_reset contains only one function that
is not use anywhere (any more).  Remove it.  This function is the only user of
the ReturnCode member of iSeries_Device_Node, so remove that as well.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Stephen Rothwell authored and Linus Torvalds committed Jun 22, 2005
1 parent c670b1a commit ea7190d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 108 deletions.
2 changes: 1 addition & 1 deletion arch/ppc64/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ obj-y += vdso32/ vdso64/

obj-$(CONFIG_PPC_OF) += of_device.o

pci-obj-$(CONFIG_PPC_ISERIES) += iSeries_pci.o iSeries_pci_reset.o
pci-obj-$(CONFIG_PPC_ISERIES) += iSeries_pci.o
pci-obj-$(CONFIG_PPC_MULTIPLATFORM) += pci_dn.o pci_direct_iommu.o

obj-$(CONFIG_PCI) += pci.o pci_iommu.o iomap.o $(pci-obj-y)
Expand Down
104 changes: 0 additions & 104 deletions arch/ppc64/kernel/iSeries_pci_reset.c

This file was deleted.

3 changes: 0 additions & 3 deletions include/asm-ppc64/iSeries/iSeries_pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ struct iSeries_Device_Node {
int DevFn; /* Linux devfn */
int BarOffset;
int Irq; /* Assigned IRQ */
int ReturnCode; /* Return Code Holder */
int IoRetry; /* Current Retry Count */
int Flags; /* Possible flags(disable/bist)*/
u16 Vendor; /* Vendor ID */
Expand All @@ -107,7 +106,5 @@ struct iSeries_Device_Node {

extern int iSeries_Device_Information(struct pci_dev*, char*, int);
extern void iSeries_Get_Location_Code(struct iSeries_Device_Node*);
extern int iSeries_Device_ToggleReset(struct pci_dev* PciDev,
int AssertTime, int DelayTime);

#endif /* _ISERIES_64_PCI_H */

0 comments on commit ea7190d

Please sign in to comment.