staging: unisys: uislib: uisqueue.c: rewrite of do_locked_client_insert
authorSudip Mukherjee <sudip@vectorindia.org>
Wed, 3 Sep 2014 09:29:21 +0000 (14:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:20:17 +0000 (13:20 -0700)
commitb440ddd531490361d7b508bcfddd67f525c7c250
tree8bd0a9f6f2c50920e6a15dc025021888b6adcf4a
parenta9b3e8f30e33d3542b00edcf0641d031b80967cb
staging: unisys: uislib: uisqueue.c: rewrite of do_locked_client_insert

1) removed unused variables
2) fixed sparse warning of context imbalance in 'do_locked_client_insert'
                         different lock contexts for basic block
3) removed the call to visor_signalqueue_empty() , this function is
   checking whether a signal queue is empty, but the return value
   of the function is not beeing used, so it is safe to remove.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/uislib/uisqueue.c