]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68d3b4d937f41d76757a824e0061fd7d18772e48
tree59affe31ac556631a9012e13f93ea54e43109f2f
parenta86b8854625cec36f57e797ab359cf94aa904d34
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