lkml.org 
[lkml]   [2008]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 3/7] rtmutex: remove unused variable
    Remove the leftover of the rwlock fixes.

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ---
    kernel/rtmutex.c | 3 ---
    1 file changed, 3 deletions(-)

    Index: linux-2.6.24/kernel/rtmutex.c
    ===================================================================
    --- linux-2.6.24.orig/kernel/rtmutex.c
    +++ linux-2.6.24/kernel/rtmutex.c
    @@ -1950,9 +1950,6 @@ rt_write_fastunlock(struct rw_mutex *rwm
    int mtx),
    int mtx)
    {
    - struct task_struct *val = (void *)((unsigned long)current |
    - RT_RWLOCK_WRITER);
    -
    WARN_ON(rt_rwlock_owner(rwm) != current);
    slowfn(rwm, mtx);
    }
    --



    \
     
     \ /
      Last update: 2008-12-19 17:21    [W:0.020 / U:0.224 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site