aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci-ats.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-09-28 21:44:36 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-10-14 09:05:32 -0700
commit78d090b0be3f072a3c95022771c35183af961aaa (patch)
treece8de79a4ab712a8c34e2abda68bcacde5173c40 /include/linux/pci-ats.h
parentPCI hotplug: acpiphp: Prevent deadlock on PCI-to-PCI bridge remove (diff)
downloadlinux-dev-78d090b0be3f072a3c95022771c35183af961aaa.tar.xz
linux-dev-78d090b0be3f072a3c95022771c35183af961aaa.zip
PCI / PM: Remove unnecessary error variable from acpi_dev_run_wake()
The result returned by acpi_dev_run_wake() is always either -EINVAL or -ENODEV, while obviously it should return 0 on success. The problem is that the leftover error variable, that's not really used in the function, is initialized with -ENODEV and then returned without modification. To fix this issue remove the error variable from acpi_dev_run_wake() and make the function return 0 on success as appropriate. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci-ats.h')
0 files changed, 0 insertions, 0 deletions