PCI: clearing wakeup flags not needed
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 8 Mar 2010 21:48:49 +0000 (16:48 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 11 May 2010 19:01:08 +0000 (12:01 -0700)
commit52b265a12768b9a72679bec825eb82c784116464
tree59affe31ac556631a9012e13f93ea54e43109f2f
parent75568f8094eb0333e9c2109b23cbc8b82d318a3c
PCI: clearing wakeup flags not needed

This patch (as1353) removes a couple of unnecessary assignments from
the PCI core.  The should_wakeup flag is naturally initialized to 0;
there's no need to clear it.

Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c