lkml.org 
[lkml]   [2007]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 02/10] i386 pci: type may be unused
    In the case of !CONFIG_PCI_DIRECT && !CONFIG_PCI_MMCONFIG, type is
    unreferened.

    Cc: Andi Kleen <ak@suse.de>
    Signed-off-by: David Rientjes <rientjes@google.com>
    ---
    arch/i386/pci/init.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/i386/pci/init.c b/arch/i386/pci/init.c
    --- a/arch/i386/pci/init.c
    +++ b/arch/i386/pci/init.c
    @@ -6,7 +6,7 @@
    in the right sequence from here. */
    static __init int pci_access_init(void)
    {
    - int type = 0;
    + int type __attribute_unused__ = 0;

    #ifdef CONFIG_PCI_DIRECT
    type = pci_direct_probe();
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-05-02 06:31    [W:4.117 / U:0.304 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site