diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2007-03-19 19:59:10 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-03-22 11:52:55 (GMT) |
commit | d0ab95ca9854174029cef2f08acf1859441cb547 (patch) | |
tree | 6913da5128d2a5b6a823836fdfbaaad56d96d840 /arch/powerpc/platforms/pseries/eeh_event.c | |
parent | 9c547768e7d9f456f1b145102e75f79e30f7b709 (diff) | |
download | linux-fsl-qoriq-d0ab95ca9854174029cef2f08acf1859441cb547.tar.xz |
[POWERPC] EEH: rm un-needed data
The EEH event notification system passes around data that is
not needed or at least, not used properly. Stop passing this
data; get it in a more reliable fashion.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/eeh_event.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh_event.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh_event.c b/arch/powerpc/platforms/pseries/eeh_event.c index 49037ed..221dec8 100644 --- a/arch/powerpc/platforms/pseries/eeh_event.c +++ b/arch/powerpc/platforms/pseries/eeh_event.c @@ -118,9 +118,7 @@ static void eeh_thread_launcher(struct work_struct *dummy) * (from a workqueue). */ int eeh_send_failure_event (struct device_node *dn, - struct pci_dev *dev, - enum pci_channel_state state, - int time_unavail) + struct pci_dev *dev) { unsigned long flags; struct eeh_event *event; @@ -144,8 +142,6 @@ int eeh_send_failure_event (struct device_node *dn, event->dn = dn; event->dev = dev; - event->state = state; - event->time_unavail = time_unavail; /* We may or may not be called in an interrupt context */ spin_lock_irqsave(&eeh_eventlist_lock, flags); |