Ticket #6164: 0001-Remove-unused-variable.patch

File 0001-Remove-unused-variable.patch, 901 bytes (added by andreasf, 10 years ago)

proposed patch: remove unused variable, leftover from hrev25913

  • src/system/kernel/arch/ppc/arch_int.cpp

    From 3eac0d325cb1b39da6fcb1bf32abd03c48539c8a Mon Sep 17 00:00:00 2001
    From: Andreas Faerber <andreas.faerber@web.de>
    Date: Sun, 13 Jun 2010 01:40:47 +0200
    Subject: [PATCH 1/2] Remove unused variable
    
    Leftover from r25913.
    ---
     src/system/kernel/arch/ppc/arch_int.cpp |    1 -
     1 files changed, 0 insertions(+), 1 deletions(-)
    
    diff --git a/src/system/kernel/arch/ppc/arch_int.cpp b/src/system/kernel/arch/ppc/arch_int.cpp
    index fc445b1..8de2fb0 100644
    a b probe_pic_device(device_node *node, PICModuleList &picModules)  
    471471    for (PICModule *module = picModules.Head();
    472472         module;
    473473         module = picModules.GetNext(module)) {
    474         //bool noConnection;
    475474        if (module->module->info.supports_device(node) > 0) {
    476475            if (module->module->info.register_device(node) == B_OK)
    477476                return true;