PCI: Remove __must_check from definitions
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 12 Apr 2013 17:18:07 +0000 (11:18 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 17 Apr 2013 16:20:58 +0000 (10:20 -0600)
commitd67aed63b8bfa4a06575ed578328b02f909699ee
treee3d13dff8b71fdc254ce7d6ffceccaef80dc74e8
parentb638d7e7b849ad402aaecfe7edb599687b5eb3a8
PCI: Remove __must_check from definitions

The __must_check (gcc "warn_unused_result") attribute only makes sense
when compiling the *caller* of the function, so the attribute should
appear on the declaration in the header file, not on the definition.

The declarations of these functions are already annotated with
__must_check.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pci_hotplug_core.c
drivers/pci/hotplug/shpchp_sysfs.c