Skip to content

Commit

Permalink
[POWERPC] EEH: Clean up comments
Browse files Browse the repository at this point in the history
Clean up commentary, remove dead code.

Signed-off-by Linas Vepstas <linas@austin.ibm.com>

Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Linas Vepstas authored and Paul Mackerras committed Nov 8, 2007
1 parent 43875cc commit 638799b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions arch/powerpc/platforms/pseries/eeh_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,16 @@ static void eeh_report_error(struct pci_dev *dev, void *userdata)
/**
* eeh_report_mmio_enabled - tell drivers that MMIO has been enabled
*
* Report an EEH error to each device driver, collect up and
* merge the device driver responses. Cumulative response
* passed back in "userdata".
* Tells each device driver that IO ports, MMIO and config space I/O
* are now enabled. Collects up and merges the device driver responses.
* Cumulative response passed back in "userdata".
*/

static void eeh_report_mmio_enabled(struct pci_dev *dev, void *userdata)
{
enum pci_ers_result rc, *res = userdata;
struct pci_driver *driver = dev->driver;

// dev->error_state = pci_channel_mmio_enabled;

if (!driver ||
!driver->err_handler ||
!driver->err_handler->mmio_enabled)
Expand Down

0 comments on commit 638799b

Please sign in to comment.