• Bjorn Helgaas's avatar
    PCI: Remove __must_check from definitions · d67aed63
    Bjorn Helgaas authored
    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: default avatarBjorn Helgaas <bhelgaas@google.com>
    d67aed63
shpchp_sysfs.c 3.06 KB