lkml.org 
[lkml]   [2007]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] Remove one useless extern declaration


    The file exit.c contains one useless extern declaration of sem_exit().
    Moreover, it refers to nothing.

    This trivial patch removes it.


    Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net>
    ---
    kernel/exit.c | 2 --
    1 file changed, 2 deletions(-)

    Index: b/kernel/exit.c
    ===================================================================
    --- a/kernel/exit.c
    +++ b/kernel/exit.c
    @@ -50,8 +50,6 @@
    #include <asm/pgtable.h>
    #include <asm/mmu_context.h>

    -extern void sem_exit (void);
    -
    static void exit_mm(struct task_struct * tsk);

    static void __unhash_process(struct task_struct *p)
    --
    Pierre Peiffer
    -
    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-11-29 17:07    [W:8.010 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site