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] slub: remove duplicate VM_BUG_ON
    From: Pekka Enberg <penberg@cs.helsinki.fi>

    This patch removes a duplicate VM_BUG_ON from add_full().

    Cc: Christoph Lameter <clameter@sgi.com>
    Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
    ---
    mm/slub.c | 2 --
    1 file changed, 2 deletions(-)

    Index: 26-mm/mm/slub.c
    ===================================================================
    --- 26-mm.orig/mm/slub.c 2007-05-02 23:00:58.000000000 +0300
    +++ 26-mm/mm/slub.c 2007-05-02 23:01:15.000000000 +0300
    @@ -633,8 +633,6 @@ static void add_full(struct kmem_cache *

    VM_BUG_ON(!irqs_disabled());

    - VM_BUG_ON(!irqs_disabled());
    -
    if (!(s->flags & SLAB_STORE_USER))
    return;

    -
    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 22:11    [W:0.021 / U:150.924 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site