Ticket #11559: 0001-Removed-dead-code-CID-1255314.patch

File 0001-Removed-dead-code-CID-1255314.patch, 1.4 KB (added by tgkokk, 6 years ago)
  • headers/private/userlandfs/private/Requests.h

    From 360025248143ae5dfa8f012d93ff3d37b97ea7a3 Mon Sep 17 00:00:00 2001
    From: Theodore Kokkoris <t.kokkoris@gmail.com>
    Date: Wed, 3 Dec 2014 14:48:52 +0000
    Subject: [PATCH] Removed dead code (CID: 1255314)
    
    ---
     headers/private/userlandfs/private/Requests.h                            | 1 -
     .../add-ons/kernel/file_systems/userlandfs/r5/headers/private/Requests.h | 1 -
     2 files changed, 2 deletions(-)
    
    diff --git a/headers/private/userlandfs/private/Requests.h b/headers/private/userlandfs/private/Requests.h
    index 3f11c8f..075c740 100644
    a b do_for_request(Request* request, Task& task)  
    23932393        default:
    23942394            return B_BAD_DATA;
    23952395    }
    2396     return task(request);
    23972396}
    23982397
    23992398status_t get_request_address_infos(Request* request, AddressInfo* infos,
  • src/tests/add-ons/kernel/file_systems/userlandfs/r5/headers/private/Requests.h

    diff --git a/src/tests/add-ons/kernel/file_systems/userlandfs/r5/headers/private/Requests.h b/src/tests/add-ons/kernel/file_systems/userlandfs/r5/headers/private/Requests.h
    index 63bdde3..0a41567 100644
    a b do_for_request(Request* request, Task& task)  
    17081708        default:
    17091709            return B_BAD_DATA;
    17101710    }
    1711     return task(request);
    17121711}
    17131712
    17141713status_t get_request_address_infos(Request* request, AddressInfo* infos,