[2.6 patch] kernel/resource.c: __check_region(): remove pointless __deprecated

From: Adrian Bunk (bunk_at_stusta.de)
Date: 11/21/05

  • Next message: Adrian Bunk: "[2.6 patch] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype"
    Date:	Mon, 21 Nov 2005 00:32:32 +0100
    To: linux-kernel@vger.kernel.org
    
    

    If a __deprecated is desired it should go to the prototype in the header
    (where it currently isn't).

    But at this place it's pointless.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.15-rc1-mm2-full/kernel/resource.c.old 2005-11-20 20:46:17.000000000 +0100
    +++ linux-2.6.15-rc1-mm2-full/kernel/resource.c 2005-11-20 20:46:32.000000000 +0100
    @@ -466,7 +466,7 @@
     
     EXPORT_SYMBOL(__request_region);
     
    -int __deprecated __check_region(struct resource *parent, unsigned long start, unsigned long n)
    +int __check_region(struct resource *parent, unsigned long start, unsigned long n)
     {
             struct resource * res;
     

    -
    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/


  • Next message: Adrian Bunk: "[2.6 patch] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype"

    Relevant Pages