Commit 638799b3 authored by Linas Vepstas's avatar Linas Vepstas Committed by Paul Mackerras

[POWERPC] EEH: Clean up comments

Clean up commentary, remove dead code.

Signed-off-by Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 43875cc0
...@@ -113,9 +113,9 @@ static void eeh_report_error(struct pci_dev *dev, void *userdata) ...@@ -113,9 +113,9 @@ static void eeh_report_error(struct pci_dev *dev, void *userdata)
/** /**
* eeh_report_mmio_enabled - tell drivers that MMIO has been enabled * eeh_report_mmio_enabled - tell drivers that MMIO has been enabled
* *
* Report an EEH error to each device driver, collect up and * Tells each device driver that IO ports, MMIO and config space I/O
* merge the device driver responses. Cumulative response * are now enabled. Collects up and merges the device driver responses.
* passed back in "userdata". * Cumulative response passed back in "userdata".
*/ */
static void eeh_report_mmio_enabled(struct pci_dev *dev, void *userdata) static void eeh_report_mmio_enabled(struct pci_dev *dev, void *userdata)
...@@ -123,8 +123,6 @@ static void eeh_report_mmio_enabled(struct pci_dev *dev, void *userdata) ...@@ -123,8 +123,6 @@ static void eeh_report_mmio_enabled(struct pci_dev *dev, void *userdata)
enum pci_ers_result rc, *res = userdata; enum pci_ers_result rc, *res = userdata;
struct pci_driver *driver = dev->driver; struct pci_driver *driver = dev->driver;
// dev->error_state = pci_channel_mmio_enabled;
if (!driver || if (!driver ||
!driver->err_handler || !driver->err_handler ||
!driver->err_handler->mmio_enabled) !driver->err_handler->mmio_enabled)
......
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