commit | 71329965273d65d6de1bc34c6b314515d52ae49a | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Wed Sep 05 15:33:48 2012 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 05 11:59:51 2012 -0700 |
tree | 7ebea628fd7a4a9f3915c8b1a4b6b74baa4c75d5 | |
parent | 92adcc805764f5b5c552741298c079ce2de8757e [diff] |
staging: slicoss: clean the spinlock code in slic_entry_open the locked variable is used for checking whether the function acquired lock, then unlock. actually with out this we can achieve the same lock and unlock senario, remove the locked variable and also cleanup the code around. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>